Skip to content

Commit 7975b60

Browse files
committed
Merge branch 'main' of github.com:denysdovhan/vacuum-card
2 parents c3c2ce1 + 11b0264 commit 7975b60

9 files changed

Lines changed: 1572 additions & 1481 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
steps:
6767
- name: 💿 Dependabot metadata
6868
id: metadata
69-
uses: dependabot/fetch-metadata@v1
69+
uses: dependabot/fetch-metadata@v2
7070
with:
7171
github-token: ${{ secrets.GITHUB_TOKEN }}
7272

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ This card supports translations. Please, help to add more translations and impro
232232
- Lietuvių (Lithuanian)
233233
- Română (Romanian)
234234
- 简体中文 (Simplified Chinese)
235+
- 日本語 (Japanese)
235236
- [_Your language?_][add-translation]
236237

237238
## Supported models
@@ -240,16 +241,16 @@ This card relies on basic vacuum services, like `pause`, `start`, `stop`, `retur
240241

241242
If this card works with your vacuum cleaner, please open a PR and your model to the list.
242243

243-
- **Roborock** S7 (MaxV), S6 (MaxV, Pure), S5 (Max), S50, S4 (Max), E25, E4, Q5 Pro
244+
- **Roborock** S8 (Ultra Pro), S7 (MaxV), S6 (MaxV, Pure), S5 (Max), S50, S4 (Max), E25, E4, Q5 Pro
244245
- **Mijia** Robot Vacuum Cleaner 1C (STYTJ01ZHM)
245246
- **Xiaomi** Mi Robot (STYJ02YM), Mi Robot 1S, Mi Roborock V1 (SDJQR02RR), Mijia 1C, Mi Robot Vacuum-Mop P, Robot Vacuum E10
246247
- **Roomba** 670, 675, 676, 960980, 981, i3, i7+, e5, S9, s9+, j7
247248
- **Braava** M6
248249
- **Dyson** 360 Eye
249250
- **Neato** D7, D6, D4
250251
- **Shark** IQ
251-
- **Ecova**cs Deebot 950, Deebot OZMO T8 AIVI, Deebot N79, Deebot N8, Deebot N8+, T9 AIVI
252-
- **Eufy** Robovac 30c, Robovac 15C Max, Robovac X8 Hybrid
252+
- **Ecova**cs Deebot 950, Deebot OZMO T8 AIVI, Deebot N79, Deebot N8, Deebot N8+, T9 AIVI, Deebot T20 Ombi
253+
- **Eufy** Robovac 30c, Robovac 15C Max, Robovac X8 Hybrid, Robovac G40
253254
- **EcoVacs** T9 AIVI
254255
- **Dreame** Z10 Pro, L10 Pro, D9, F9
255256
- 360 S7 Pro

package-lock.json

Lines changed: 1385 additions & 1448 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vacuum-card",
3-
"version": "2.8.0",
3+
"version": "2.9.2",
44
"description": "Vacuum cleaner card for Home Assistant Lovelace UI",
55
"main": "dist/vacuum-card.js",
66
"scripts": {
@@ -26,7 +26,7 @@
2626
"dependencies": {
2727
"custom-card-helpers": "^1.6.4",
2828
"ha-template": "^1.2.2",
29-
"home-assistant-js-websocket": "^8.0.1",
29+
"home-assistant-js-websocket": "^9.2.1",
3030
"lit": "^2.0.0",
3131
"lodash": "^4.17.21"
3232
},

src/localize.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import * as fr from './translations/fr.json';
1414
import * as he from './translations/he.json';
1515
import * as hu from './translations/hu.json';
1616
import * as it from './translations/it.json';
17+
import * as ja from './translations/ja.json';
1718
import * as ko from './translations/ko.json';
1819
import * as lt from './translations/lt.json';
1920
import * as nb from './translations/nb.json';
@@ -48,6 +49,7 @@ const languages: Record<string, Translations> = {
4849
he,
4950
hu,
5051
it,
52+
ja,
5153
ko,
5254
lt,
5355
nb,

src/translations/de.json

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,45 @@
11
{
22
"status": {
33
"cleaning": "Reinigen",
4+
"auto": "Automatisches Reinigen",
5+
"spot": "Punktreinigung",
6+
"edge": "Kantenreinigung",
7+
"single_room": "Zimmerreinigung",
48
"paused": "Pausiert",
59
"idle": "Untätig",
10+
"stop": "Angehalten",
611
"charging": "Aufladen",
7-
"returning home": "Rückkehr zu Dockingstation",
812
"returning": "Rückkehr zu Dockingstation",
9-
"segment cleaning": "Zimmerreinigung",
13+
"returning_home": "Rückkehr zu Dockingstation",
1014
"docked": "Angedockt",
11-
"error": "Fehler"
15+
"unknown": "Unbekannt",
16+
"offline": "Offline",
17+
"error": "Fehler",
18+
"charger_disconnected": "Ladestation nicht angeschlossen",
19+
"remote_control_active": "Fernsteuerung aktiv",
20+
"manual_mode": "Manueller Modus",
21+
"shutting_down": "Herunterfahren",
22+
"updating": "Aktualisierung",
23+
"going_to_target": "Fahrt zum Zielpunkt",
24+
"zoned_cleaning": "Zonenreinigung",
25+
"segment_cleaning": "Zimmerreinigung"
1226
},
1327
"source": {
28+
"gentle": "Schonend",
1429
"silent": "Leise",
1530
"standard": "Standard",
1631
"medium": "Mittel",
1732
"turbo": "Max",
18-
"quiet": "Leise",
33+
"normal": "Normal",
1934
"max": "Maximal",
20-
"max+": "Maximal+",
21-
"gentle": "Schonend"
35+
"max_plus": "Maximal+",
36+
"high": "Hoch",
37+
"strong": "Stark",
38+
"quiet": "Leise",
39+
"auto": "Auto",
40+
"balanced": "Ausgeglichen",
41+
"custom": "Benutzerdefiniert",
42+
"off": "Aus"
2243
},
2344
"common": {
2445
"name": "Vacuum Card",
@@ -28,13 +49,15 @@
2849
"pause": "Pause",
2950
"stop": "Stop",
3051
"return_to_base": "Dock",
31-
"locate": "Staubsauger lokalisieren"
52+
"locate": "Staubsauger lokalisieren",
53+
"not_available": "Staubsaugerroboter ist nicht verfügbar"
3254
},
3355
"error": {
56+
"invalid_config": "Ungeültige Konfiguration",
3457
"missing_entity": "Angabe der Entität ist erforderlich!"
3558
},
3659
"warning": {
37-
"actions_array": ""
60+
"actions_array": "WARNUNG: 'actions' ist dafür vorgesehen, die Standardaktionen für vorhandene Schaltflächen zu überschreiben. Wenn Sie zusätzliche Aktionen hinzufügen möchten, verwenden Sie stattdessen die Option 'shortcuts'."
3861
},
3962
"editor": {
4063
"entity": "Entität (Erforderlich)",
@@ -46,6 +69,9 @@
4669
"show_name": "Zeige Namen",
4770
"show_name_aria_label_on": "Schalte 'Zeige Namen' ein",
4871
"show_name_aria_label_off": "Schalte 'Zeige Namen' aus",
72+
"show_status": "Zeige Status",
73+
"show_status_aria_label_on": "Schalte 'Zeige Status' ein",
74+
"show_status_aria_label_off": "Schalte 'Zeige Status' aus",
4975
"show_toolbar": "Zeige Toolbar",
5076
"show_toolbar_aria_label_on": "Schalte 'Zeige Toolbar' ein",
5177
"show_toolbar_aria_label_off": "Schalte 'Zeige Toolbar' aus",

src/translations/ja.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"status": {
3+
"cleaning": "掃除中",
4+
"auto": "自動",
5+
"spot": "スポット",
6+
"edge": "エッジ清掃",
7+
"single_room": "シングルルームモード",
8+
"paused": "一時停止",
9+
"idle": "アイドル",
10+
"stop": "停止",
11+
"charging": "充電中",
12+
"returning": "ホームに戻っています",
13+
"returning_home": "ホームに戻る",
14+
"docked": "ドックに接続中",
15+
"unknown": "不明",
16+
"offline": "オフライン",
17+
"error": "エラー",
18+
"charger_disconnected": "充電器が接続されていません",
19+
"remote_control_active": "リモート操作有効",
20+
"manual_mode": "マニュアルモード",
21+
"shutting_down": "シャットダウン",
22+
"updating": "更新中",
23+
"going_to_target": "目的地へ移動中",
24+
"zoned_cleaning": "ゾーン清掃",
25+
"segment_cleaning": "セグメント清掃"
26+
},
27+
"source": {
28+
"gentle": "やさしく",
29+
"silent": "無音",
30+
"standard": "標準",
31+
"medium": "",
32+
"turbo": "ターボ",
33+
"normal": "通常",
34+
"max": "最大",
35+
"max_plus": "最大+",
36+
"high": "",
37+
"strong": "最強",
38+
"quiet": "静音",
39+
"auto": "自動",
40+
"balanced": "バランス",
41+
"custom": "カスタム",
42+
"off": "オフ"
43+
},
44+
"common": {
45+
"name": "掃除機カード",
46+
"description": "掃除機かーどはロボット掃除機の操作に使用します。",
47+
"start": "開始",
48+
"continue": "続ける",
49+
"pause": "一時停止",
50+
"stop": "中止",
51+
"return_to_base": "ドック",
52+
"locate": "掃除機の場所",
53+
"not_available": "掃除機は利用できません"
54+
},
55+
"error": {
56+
"invalid_config": "設定が無効です",
57+
"missing_entity": "エンティティを選択してください。"
58+
},
59+
"warning": {
60+
"actions_array": "警告:'actions'は既存のボタンのデフォルトアクションを上書きするために使用されています。アクションを追加したい場合は、'shortcuts' オプションを使用してください。"
61+
},
62+
"editor": {
63+
"entity": "エンティティ(必須)",
64+
"map": "マップカメラ(オプション)",
65+
"image": "イメージ(オプション)",
66+
"compact_view": "コンパクトビュー",
67+
"compact_view_aria_label_on": "コンパクトビューをオンにする",
68+
"compact_view_aria_label_off": "コンパクトビューをオフにする",
69+
"show_name": "名前を表示",
70+
"show_name_aria_label_on": "名前の表示をオンにする",
71+
"show_name_aria_label_off": "名前の表示をオフにする",
72+
"show_status": "ステータスを表示",
73+
"show_status_aria_label_on": "ステータスの表示をオンにする",
74+
"show_status_aria_label_off": "ステータスの表示をオフにする",
75+
"show_toolbar": "ツールバーを表示",
76+
"show_toolbar_aria_label_on": "ツールバーの表示をオンにする",
77+
"show_toolbar_aria_label_off": "ツールバーの表示をオフにする",
78+
"code_only_note": "注:actionとstatsのオプション設定は、コードエディターで行ってください。"
79+
}
80+
}

src/translations/pl.json

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,43 @@
99
"idle": "Bezczynny",
1010
"stop": "Zatrzymany",
1111
"charging": "Ładowanie",
12-
"returning home": "Powrót do bazy",
13-
"returning": "Powrót do bazy",
12+
"returning": "Powracanie",
13+
"returning_home": "Powrót do bazy",
1414
"docked": "Zadokowany",
1515
"unknown": "Nieznany",
1616
"offline": "Offline",
17-
"error": "Błąd"
17+
"error": "Błąd",
18+
"charger_disconnected": "Ładowarka odłączona",
19+
"remote_control_active": "Zdalne sterowanie",
20+
"manual_mode": "Tryb manualny",
21+
"shutting_down": "Wyłączanie",
22+
"updating": "Aktualizowanie",
23+
"going_to_target": "Podróż do celu",
24+
"zoned_cleaning": "Sprzątanie obszaru",
25+
"segment_cleaning": "Sprzątanie segmentu",
26+
"returning home": "Powrót do bazy"
1827
},
1928
"source": {
2029
"gentle": "Delikatne",
21-
"low": "Niskie",
2230
"silent": "Ciche",
2331
"standard": "Standardowe",
2432
"medium": "Średnie",
2533
"turbo": "Turbo",
2634
"normal": "Normalne",
27-
"high": "Wysokie",
2835
"max": "Maksymalne",
29-
"strong": "Mocne"
36+
"max_plus": "Max+",
37+
"high": "Wysokie",
38+
"strong": "Mocne",
39+
"quiet": "Ciche",
40+
"auto": "Auto",
41+
"balanced": "Zbalansowane",
42+
"custom": "Własne",
43+
"off": "Wyłączone",
44+
"low": "Niskie"
3045
},
3146
"common": {
3247
"name": "Vacuum Card",
33-
"description": "Vacuum card pozwala zdalnie kontrolować odkurzacz.",
48+
"description": "Vacuum Card pozwala zdalnie kontrolować odkurzacz.",
3449
"start": "Sprzątaj",
3550
"continue": "Kontynuuj",
3651
"pause": "Wstrzymaj",
@@ -40,6 +55,7 @@
4055
"not_available": "Odkurzacz jest niedostępny"
4156
},
4257
"error": {
58+
"invalid_config": "Nieprawidłowa konfiguracja",
4359
"missing_entity": "Ustawienie encji jest wymagane!"
4460
},
4561
"warning": {

src/translations/pt.json

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,63 @@
11
{
22
"status": {
33
"cleaning": "A Limpar",
4+
"auto": "Limpeza automática",
5+
"spot": "Limpeza localizada",
6+
"edge": "Limpeza de bordas",
7+
"single_room": "Limpeza de um único quarto",
48
"paused": "Pausado",
5-
"idle": "Parado",
9+
"idle": "Inativo",
10+
"stop": "Parado",
611
"charging": "A Carregar",
7-
"returning home": "Voltar para a Base"
12+
"returning": "A regressar",
13+
"returning home": "A regressar à base",
14+
"docked": "Na base",
15+
"unknown": "Desconhecido",
16+
"offline": "Offline",
17+
"error": "Erro",
18+
"charger_disconnected": "Carregador desconectado",
19+
"remote_control_active": "Controlo remoto ativo",
20+
"manual_mode": "Modo manual",
21+
"shutting_down": "A desligar",
22+
"updating": "A atualizar",
23+
"going_to_target": "A caminho do destino",
24+
"zoned_cleaning": "Limpeza por zonas",
25+
"segment_cleaning": "Limpeza por segmentos"
826
},
927
"source": {
1028
"gentle": "Delicado",
1129
"silent": "Silencioso",
12-
"standard": "Standard",
13-
"medium": "Medio",
14-
"turbo": "Turbo"
30+
"standard": "Padrão",
31+
"medium": "Médio",
32+
"turbo": "Turbo",
33+
"normal": "Normal",
34+
"max": "Máximo",
35+
"max_plus": "Máximo+",
36+
"high": "Alto",
37+
"strong": "Forte",
38+
"quiet": "Silencioso",
39+
"auto": "Automático",
40+
"balanced": "Equilibrado",
41+
"custom": "Personalizado",
42+
"off": "Desligado"
1543
},
1644
"common": {
1745
"name": "Vacuum Card",
18-
"description": "Vacuum card permite controlar o robô aspirador.",
19-
"start": "Começar",
46+
"description": "Vacuum card permite controlar o seu robô aspirador.",
47+
"start": "Limpar",
2048
"continue": "Continuar",
21-
"pause": "Pausa",
49+
"pause": "Pausar",
2250
"stop": "Parar",
2351
"return_to_base": "Base",
24-
"locate": "Localizar aspirador",
52+
"locate": "Localizar Aspirador",
2553
"not_available": "Aspirador indisponível"
2654
},
2755
"error": {
28-
"missing_entity": "Entidade obrigatória!"
56+
"invalid_config": "Configuração inválida",
57+
"missing_entity": "Entidade especificada obrigatória!"
2958
},
3059
"warning": {
31-
"actions_array": ""
60+
"actions_array": "AVISO: 'actions' está reservado para substituir ações padrão de botões existentes. Se a sua intenção era adicionar ações adicionais, utilize a opção 'shortcuts'."
3261
},
3362
"editor": {
3463
"entity": "Entidade (Obrigatório)",
@@ -46,6 +75,6 @@
4675
"show_toolbar": "Mostrar barra de ferramentas",
4776
"show_toolbar_aria_label_on": "Mostrar barra de ferramentas",
4877
"show_toolbar_aria_label_off": "Ocultar barra de ferramentas",
49-
"code_only_note": "Nota: Ações e estatísticas estão disponiveis exclusivamente usando o editor de código."
78+
"code_only_note": "Nota: Ações e estatísticas estão disponiveis exclusivamente usando o Editor de Código."
5079
}
5180
}

0 commit comments

Comments
 (0)