iobroker.lovelace 4.0.9 → 4.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -213,12 +213,14 @@ Custom Lovelace card created in support of accuweather forecast - https://github
213
213
  Shopping list writes the values in form:
214
214
  ```
215
215
  [
216
- {name: 'Task 1', id: 1234222, complete: false},
217
- {name: 'Task 2', id: 1234223, complete: true}
216
+ {"summary": "Task 1", "uid": "1234222", "status": "needs_action"},
217
+ {"summary": "Task 2", "uid": "1234223", "status": "completed"}
218
218
  ]
219
219
  ```
220
220
  into `lovelace.X.control.shopping_list` state.
221
221
 
222
+ You can also add your own todo or shopping lists by creating manual entities with type `todo`.
223
+
222
224
  ### Map
223
225
  The objects must look like this one:
224
226
 
@@ -428,14 +430,14 @@ Security must be taken from current user and not from default_user
428
430
 
429
431
  ## Development
430
432
  ### Version
431
- Used version of home-assistant-frontend@20231208.1
433
+ Used version of home-assistant-frontend@20231208.2
432
434
  Version of Browser Mod: 2.3.0
433
435
 
434
436
  ### How to build the new Lovelace version
435
437
  First of all the actual https://github.com/home-assistant/frontend (dev branch) must be **manually** merged into https://github.com/GermanBluefox/home-assistant-polymer.git (***iob*** branch!).
436
438
 
437
439
  All changes for ioBroker are marked with comment `// IoB`.
438
- For now (20231208.1) following files were modified:
440
+ For now (20231208.2) following files were modified:
439
441
  - `build-scripts/gulp/app.js` - Add new gulp task develop-iob
440
442
  - `build-scripts/gulp/webpack.js` - Add new gulp task webpack-dev-app
441
443
  - `src/data/weather.ts` - add support to display weather icon from url.
@@ -471,23 +473,24 @@ After that checkout modified version in `./build` folder. Then.
471
473
  PLACEHOLDER for next version:
472
474
  ### **WORK IN PROGRESS**
473
475
  -->
476
+ ### 4.0.12 (2023-12-15)
477
+ * (Garfonso) fix lint errors
478
+
479
+ ### 4.0.11 (2023-12-15)
480
+ * (Garfonso) updated dependencies
481
+
482
+ ### 4.0.10 (2023-12-15)
483
+ * (Garfonso) brought back shopping list. Now also supports shopping/todo lists from manual entities.
484
+ * (Garfonso) fix: browser console errors
485
+ * (Garfonso) fix: login & authorization
486
+ * (Garfonso) added: user images & names on login screen
487
+
474
488
  ### 4.0.9 (2023-12-12)
475
489
  * (Garfonso) fixed: timestamp in legacy history data
476
490
 
477
491
  ### 4.0.8 (2023-12-12)
478
492
  * (Garfonso) re-add legacy history for custom cards
479
493
 
480
- ### 4.0.7 (2023-12-12)
481
- * (Garfonso) history should be working again.
482
-
483
- ### 4.0.6 (2023-12-09)
484
- * (Garfonso) fixed: thermostat card for thermostats without mode / off state
485
- * (Garfonso) fixed: history and history graph missing for some stuff
486
-
487
- ### 4.0.5 (2023-12-09)
488
- * (Garfonso) revert shopping list
489
- * (Garfonso) prevent invalid date error
490
-
491
494
  ## License
492
495
 
493
496
  Copyright 2019-2023, bluefox <dogafox@gmail.com>
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(zur URL '...?toolbar=true' hinzufügen, um die Symbolleiste wieder anzuzeigen)",
3
2
  "(unique for one entity type)": "(eindeutig für einen Entitätstyp)",
4
3
  "Additional Attributes": "Zusätzliche Attribute",
5
4
  "AliasOnly": "Automatische Generierung von Geräten nur aus Alias.0. *",
@@ -141,6 +140,7 @@
141
140
  "switch": "Schalter",
142
141
  "tilted": "Gekippt",
143
142
  "timer": "Timer",
143
+ "todolist": "ToDo Liste",
144
144
  "vacuum": "Staubsauger",
145
145
  "water_heater": "Wasserkocher",
146
146
  "weather": "Wetter",
@@ -173,5 +173,9 @@
173
173
  "Adapter": "Adapter",
174
174
  "User (works only for changes during adapter runtime)": "Benutzer (funktioniert nur bei Änderungen während der Adapterlaufzeit)",
175
175
  "Nothing": "Nichts",
176
- "Logbook: Source should show": "Logbuch: Quelle sollte zeigen"
176
+ "Logbook: Source should show": "Logbuch: Quelle sollte zeigen",
177
+ "Unsecure_Auth": "Wenn Sie HTTPS nicht aktivieren oder andere Mittel zur Verschlüsselung der Kommunikation verwenden, wird Ihr Passwort unverschlüsselt über das Netzwerk gesendet. Öffnen Sie nicht einfach einen Port für Lovelace!",
178
+ "Warning!": "Warnung!",
179
+ "Ignore warning": "Warnung ignorieren",
180
+ "Disable authentication": "Deaktivieren Sie die Authentifizierung"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(add to URL '...?toolbar=true' to show toolbar again)",
3
2
  "(unique for one entity type)": "(unique for one entity type)",
4
3
  "Additional Attributes": "Additional Attributes",
5
4
  "Air Quality Index": "Air Quality Index",
@@ -163,6 +162,7 @@
163
162
  "switch": "switch",
164
163
  "tilted": "Tilted",
165
164
  "timer": "timer",
165
+ "todolist": "todo list",
166
166
  "vacuum": "vacuum cleaner",
167
167
  "water_heater": "water heater",
168
168
  "weather": "weather",
@@ -173,5 +173,9 @@
173
173
  "Adapter": "Adapter",
174
174
  "User (works only for changes during adapter runtime)": "User (works only for changes during adapter runtime)",
175
175
  "Nothing": "Nothing",
176
- "Logbook: Source should show": "Logbook: Source should show"
176
+ "Logbook: Source should show": "Logbook: Source should show",
177
+ "Unsecure_Auth": "If you don't enable HTTPS or use other means to encrypt communication, your password will be sent unencrypted over the network. Do not just open a port for lovelace!",
178
+ "Warning!": "Warning!",
179
+ "Ignore warning": "Ignore warning",
180
+ "Disable authentication": "Disable authentication"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(agregue a la URL '...?toolbar=true' para mostrar la barra de herramientas nuevamente)",
3
2
  "(unique for one entity type)": "(exclusivo para un tipo de entidad)",
4
3
  "Additional Attributes": "Atributos adicionales",
5
4
  "AliasOnly": "Generar automáticamente dispositivos desde alias.0. * Solamente",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Adaptador",
174
173
  "User (works only for changes during adapter runtime)": "Usuario (solo funciona para cambios durante el tiempo de ejecución del adaptador)",
175
174
  "Nothing": "Nada",
176
- "Logbook: Source should show": "Libro de registro: la fuente debe mostrar"
175
+ "Logbook: Source should show": "Libro de registro: la fuente debe mostrar",
176
+ "todolist": "lista de quehaceres",
177
+ "Unsecure_Auth": "Si no habilita HTTPS o utiliza otros medios para cifrar la comunicación, su contraseña se enviará sin cifrar a través de la red. ¡No se limite a abrir un puerto para Lovelace!",
178
+ "Warning!": "¡Advertencia!",
179
+ "Ignore warning": "ignorar advertencia",
180
+ "Disable authentication": "Deshabilitar la autenticación"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(ajoutez à l'URL '...?toolbar=true' pour afficher à nouveau la barre d'outils)",
3
2
  "(unique for one entity type)": "(unique pour un type d'entité)",
4
3
  "Additional Attributes": "Attributs supplémentaires",
5
4
  "AliasOnly": "Génération automatique de périphériques à partir d'alias.0. * Uniquement",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Adaptateur",
174
173
  "User (works only for changes during adapter runtime)": "Utilisateur (fonctionne uniquement pour les modifications pendant l'exécution de l'adaptateur)",
175
174
  "Nothing": "Rien",
176
- "Logbook: Source should show": "Journal de bord : la source doit s'afficher"
175
+ "Logbook: Source should show": "Journal de bord : la source doit s'afficher",
176
+ "todolist": "liste de choses à faire",
177
+ "Unsecure_Auth": "Si vous n'activez pas HTTPS ou n'utilisez pas d'autres moyens pour crypter la communication, votre mot de passe sera envoyé en clair sur le réseau. Ne vous contentez pas d'ouvrir un port pour Lovelace !",
178
+ "Warning!": "Avertissement!",
179
+ "Ignore warning": "Ignorer l'avertissement",
180
+ "Disable authentication": "Désactiver l'authentification"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(aggiungi all'URL '...?toolbar=true' per mostrare di nuovo la barra degli strumenti)",
3
2
  "(unique for one entity type)": "(unico per un tipo di entità)",
4
3
  "Additional Attributes": "Attributi aggiuntivi",
5
4
  "AliasOnly": "Generazione automatica dei dispositivi solo da alias.0. *",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Adattatore",
174
173
  "User (works only for changes during adapter runtime)": "Utente (funziona solo per le modifiche durante il runtime dell'adattatore)",
175
174
  "Nothing": "Niente",
176
- "Logbook: Source should show": "Diario di bordo: dovrebbe essere visualizzata la fonte"
175
+ "Logbook: Source should show": "Diario di bordo: dovrebbe essere visualizzata la fonte",
176
+ "todolist": "lista di cose da fare",
177
+ "Unsecure_Auth": "Se non abiliti HTTPS o non utilizzi altri mezzi per crittografare la comunicazione, la tua password verrà inviata non crittografata sulla rete. Non limitarti ad aprire una porta per l'amore!",
178
+ "Warning!": "Avvertimento!",
179
+ "Ignore warning": "Ignora l'avviso",
180
+ "Disable authentication": "Disabilita l'autenticazione"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(toevoegen aan URL '...?toolbar=true' om de werkbalk opnieuw weer te geven)",
3
2
  "(unique for one entity type)": "(uniek voor één entiteitstype)",
4
3
  "Additional Attributes": "Extra attributen",
5
4
  "AliasOnly": "Apparaten automatisch genereren vanaf alias.0. * Alleen",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Adapter",
174
173
  "User (works only for changes during adapter runtime)": "Gebruiker (werkt alleen voor wijzigingen tijdens de looptijd van de adapter)",
175
174
  "Nothing": "Niets",
176
- "Logbook: Source should show": "Logboek: Bron zou moeten verschijnen"
175
+ "Logbook: Source should show": "Logboek: Bron zou moeten verschijnen",
176
+ "todolist": "te doen lijst",
177
+ "Unsecure_Auth": "Als u HTTPS niet inschakelt of andere middelen gebruikt om de communicatie te versleutelen, wordt uw wachtwoord onversleuteld over het netwerk verzonden. Open niet zomaar een poort voor lovelace!",
178
+ "Warning!": "Waarschuwing!",
179
+ "Ignore warning": "Negeer waarschuwing",
180
+ "Disable authentication": "Schakel authenticatie uit"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(dodaj adres URL '...?toolbar=true', aby ponownie wyświetlić pasek narzędzi)",
3
2
  "(unique for one entity type)": "(unikalny dla jednego typu jednostki)",
4
3
  "Additional Attributes": "Dodatkowe atrybuty",
5
4
  "AliasOnly": "Automatyczne generowanie urządzeń tylko z aliasu. 0. *",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Adapter",
174
173
  "User (works only for changes during adapter runtime)": "Użytkownik (działa tylko w przypadku zmian w czasie działania adaptera)",
175
174
  "Nothing": "Nic",
176
- "Logbook: Source should show": "Logbook: Źródło powinno być widoczne"
175
+ "Logbook: Source should show": "Logbook: Źródło powinno być widoczne",
176
+ "todolist": "Lista rzeczy do zrobienia",
177
+ "Unsecure_Auth": "Jeśli nie włączysz protokołu HTTPS lub nie użyjesz innych sposobów szyfrowania komunikacji, Twoje hasło zostanie przesłane przez sieć w formie niezaszyfrowanej. Nie otwieraj portu tylko dla lovelace!",
178
+ "Warning!": "Ostrzeżenie!",
179
+ "Ignore warning": "Zignoruj ​​ostrzeżenie",
180
+ "Disable authentication": "Wyłącz uwierzytelnianie"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(adicione ao URL '...?toolbar=true' para mostrar a barra de ferramentas novamente)",
3
2
  "(unique for one entity type)": "(exclusivo para um tipo de entidade)",
4
3
  "Additional Attributes": "Atributos Adicionais",
5
4
  "AliasOnly": "Gerar automaticamente dispositivos apenas a partir do alias.0. *",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Adaptador",
174
173
  "User (works only for changes during adapter runtime)": "Usuário (funciona apenas para alterações durante o tempo de execução do adaptador)",
175
174
  "Nothing": "Nada",
176
- "Logbook: Source should show": "Diário de bordo: a fonte deve mostrar"
175
+ "Logbook: Source should show": "Diário de bordo: a fonte deve mostrar",
176
+ "todolist": "lista de afazeres",
177
+ "Unsecure_Auth": "Se você não ativar o HTTPS ou usar outros meios para criptografar a comunicação, sua senha será enviada sem criptografia pela rede. Não basta abrir uma porta para lovelace!",
178
+ "Warning!": "Aviso!",
179
+ "Ignore warning": "Ignorar aviso",
180
+ "Disable authentication": "Desabilitar autenticação"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(добавьте в URL «...?toolbar=true», чтобы снова показать панель инструментов)",
3
2
  "(unique for one entity type)": "(уникально для одного типа объекта)",
4
3
  "Additional Attributes": "Дополнительные атрибуты",
5
4
  "AliasOnly": "Автоматически генерировать устройства только из псевдонима 0. *",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Адаптер",
174
173
  "User (works only for changes during adapter runtime)": "Пользователь (работает только для изменений во время работы адаптера)",
175
174
  "Nothing": "Ничего",
176
- "Logbook: Source should show": "Бортовой журнал: источник должен отображаться"
175
+ "Logbook: Source should show": "Бортовой журнал: источник должен отображаться",
176
+ "todolist": "список дел",
177
+ "Unsecure_Auth": "Если вы не включите HTTPS или не используете другие средства шифрования связи, ваш пароль будет отправлен по сети в незашифрованном виде. Не открывайте порт просто так для ловеласа!",
178
+ "Warning!": "Предупреждение!",
179
+ "Ignore warning": "Игнорировать предупреждение",
180
+ "Disable authentication": "Отключить аутентификацию"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(додайте до URL-адреси '...?toolbar=true', щоб знову показати панель інструментів)",
3
2
  "(unique for one entity type)": "(унікальний для одного типу сутності)",
4
3
  "Additional Attributes": "Додаткові атрибути",
5
4
  "Air Quality Index": "Індекс якості повітря",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "Перехідник",
174
173
  "User (works only for changes during adapter runtime)": "Користувач (працює лише для змін під час роботи адаптера)",
175
174
  "Nothing": "нічого",
176
- "Logbook: Source should show": "Бортовий журнал: Джерело повинно бути показано"
175
+ "Logbook: Source should show": "Бортовий журнал: Джерело повинно бути показано",
176
+ "todolist": "список справ",
177
+ "Unsecure_Auth": "Якщо ви не ввімкнете HTTPS або не використаєте інші засоби шифрування зв’язку, ваш пароль буде надіслано через мережу в незашифрованому вигляді. Не просто відкривайте порт для ловеласа!",
178
+ "Warning!": "УВАГА!",
179
+ "Ignore warning": "Ігнорувати попередження",
180
+ "Disable authentication": "Вимкнути автентифікацію"
177
181
  }
@@ -1,5 +1,4 @@
1
1
  {
2
- "(add to URL '...?toolbar=true' to show toolbar again)": "(添加到网址'...?toolbar=true'显示工具栏再次)",
3
2
  "(unique for one entity type)": "(唯一的一个实体的类型)",
4
3
  "Additional Attributes": "附加属性",
5
4
  "AliasOnly": "仅从alias.0。*自动生成设备",
@@ -173,5 +172,10 @@
173
172
  "Adapter": "适配器",
174
173
  "User (works only for changes during adapter runtime)": "用户(仅适用于适配器运行时期间的更改)",
175
174
  "Nothing": "没有什么",
176
- "Logbook: Source should show": "日志:来源应显示"
175
+ "Logbook: Source should show": "日志:来源应显示",
176
+ "todolist": "待办事项清单",
177
+ "Unsecure_Auth": "如果您未启用 HTTPS 或使用其他方式加密通信,您的密码将通过网络以未加密的方式发送。不要只为lovelace打开一个端口!",
178
+ "Warning!": "警告!",
179
+ "Ignore warning": "忽略警告",
180
+ "Disable authentication": "禁用身份验证"
177
181
  }
@@ -122,6 +122,10 @@
122
122
  {
123
123
  "value": "sun",
124
124
  "label": "sun"
125
+ },
126
+ {
127
+ "value": "todo",
128
+ "label": "todolist"
125
129
  }
126
130
  ],
127
131
  "defaultFunc": "!customObj.common ? 'sensor' : customObj.common.write ? (customObj.common.states ? 'input_select' : customObj.common.role === 'date' ? 'input_datetime' : customObj.common.type === 'boolean' ? 'input_boolean' : customObj.common.type === 'number' ? 'input_number' : 'input_text') : (customObj.common.type === 'boolean' ? 'binary_sensor' : 'sensor');",