Skip to content

Commit

Permalink
### 1.0.10 (2020-02-13)
Browse files Browse the repository at this point in the history
* (Garfonso) Fixed handling of malformed / null RGB string
* (algar42)  Binary sensor added
* (Garfonso) fixed manual dimmer
* (algar42)  fixed for duplicated states via websockets
* (Garfonso) fixed handling of deleted objects
  • Loading branch information
GermanBluefox committed Feb 13, 2020
1 parent 0ffe04b commit 523018c
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 31 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,18 +423,18 @@ Security must be taken from current user and not from default_user
Used version of [email protected]

### How to build the new Lovelace version
First of all the actual https://github.com/home-assistant/home-assistant-polymer (dev branch) must be **manually** merged into https://github.com/GermanBluefox/home-assistant-polymer.git (iob) branch.
First of all the actual https://github.com/home-assistant/home-assistant-polymer (dev branch) must be **manually** merged into https://github.com/GermanBluefox/home-assistant-polymer.git (***iob*** branch!).

All changes for ioBroker are marked with comment `// IoB`.
For now (2019.11.23) following files were modified:
For now (2020.01.12) following files were modified:
- `.gitignore` - added `.idea` ignore
- `build-scripts/gulp/app.js` - Added new gulp task
- `build-scripts/gulp/webpack.js` - Added new gulp task
- `src/entrypoints/core.ts` - modified authentication process
- `src/data/lovelace.ts` - added hide bar option
- `src/panels/lovelace/hui-root.ts` - added notifications and voice control
- `src/dialogs/notifications/notification-drawer.js` - added button ack all
- `src/entrypoints/core.ts` - modified authentication process
- `src/layouts/home-assistant-main.ts` - remove app sidebar
- `src/panels/lovelace/hui-root.ts` - added notifications and voice control

After that checkout modified version in `./build` folder. Then.

Expand All @@ -443,11 +443,18 @@ After that checkout modified version in `./build` folder. Then.
3. `cd home-assistant-polymer`
4. `git checkout master`
5. `npm install`
6. `gulp run build-app` for release or `gulp run develop-iob` for debug version. To build web after changes you can call `webpack-dev-app` for faster build, but you need to call `build-app` anyway after the version is ready for use.
6. `gulp build-app` for release or `gulp develop-iob` for debug version. To build web after changes you can call `webpack-dev-app` for faster build, but you need to call `build-app` anyway after the version is ready for use.
7. copy all files from `./build/home-assistant-polymer/hass_frontend` into `./hass_frontend` in this repo
8. Start `gulp rename` task.

## Changelog
### 1.0.10 (2020-02-13)
* (Garfonso) Fixed handling of malformed / null RGB string
* (algar42) Binary sensor added
* (Garfonso) fixed manual dimmer
* (algar42) fixed for duplicated states via websockets
* (Garfonso) fixed handling of deleted objects

### 1.0.9 (2020-01-29)
* (bluefox) Dimmer control was fixed

Expand Down Expand Up @@ -516,7 +523,7 @@ After that checkout modified version in `./build` folder. Then.

## License

Copyright 2019, bluefox <[email protected]>
Copyright 2019-2020, bluefox <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
48 changes: 30 additions & 18 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "lovelace",
"version": "1.0.9",
"version": "1.0.10",
"news": {
"1.0.10": {
"en": "Fixed handling of malformed / null RGB string\nBinary sensor added\nfixed manual dimmer \nfixed for duplicated states via websockets\nfixed handling of deleted objects ",
"de": "Behobenes Handling von fehlerhaften / null RGB Strings\nBinärsensor hinzugefügt\nfester manueller Dimmer\nFür doppelte Zustände über Websockets behoben\nBehobener Umgang mit gelöschten Objekten",
"ru": "Исправлена обработка некорректной / нулевой строки RGB\nДобавлен бинарный датчик\nфиксированный ручной диммер\nисправлено для дублированных состояний через веб-сокеты\nисправлена обработка удаленных объектов",
"pt": "Manipulação corrigida de sequência de caracteres RGB inválida / nula\nSensor binário adicionado\ndimmer manual fixo\ncorrigido para estados duplicados via websockets\nmanipulação fixa de objetos excluídos",
"nl": "Vaste verwerking van misvormde / nul RGB-tekenreeks\nBinaire sensor toegevoegd\nvaste handmatige dimmer\nopgelost voor dubbele status via websockets\nvaste afhandeling van verwijderde objecten",
"fr": "Correction de la gestion de la chaîne RVB mal formée / nulle\nCapteur binaire ajouté\nvariateur manuel fixe\ncorrigé pour les états dupliqués via les websockets\ncorrection de la gestion des objets supprimés",
"it": "Risolto il problema con la gestione della stringa RGB non valida / nulla\nAggiunto sensore binario\ndimmer manuale fisso\nriparato per stati duplicati tramite websocket\ngestione fissa degli oggetti eliminati",
"es": "Manejo fijo de cadenas RGB malformadas / nulas\nSensor binario agregado\nregulador manual fijo\narreglado para estados duplicados a través de websockets\nmanejo fijo de objetos eliminados",
"pl": "Naprawiono obsługę źle zniekształconego / zerowego ciągu RGB\nDodano czujnik binarny\nnaprawiony ręczny ściemniacz\nnaprawiono dla zduplikowanych stanów poprzez websockets\npoprawiona obsługa usuniętych obiektów",
"zh-cn": "修复了格式错误/无效的RGB字符串的处理\n增加了二进制传感器\n固定式手动调光器\n通过websocket修复了重复状态\n修复删除对象的处理"
},
"1.0.9": {
"en": "Dimmer control was fixed",
"de": "Dimmer Kontrolle wurde behoben",
Expand Down Expand Up @@ -267,22 +279,22 @@
"_id": "conversation",
"type": "state",
"common": {
"name": "Question and answer for conversation ",
"desc": "Question and answer for conversation dialog. See readme for how to use.",
"desc1": {
"en": "Question and answer for conversation dialog. See readme for how to use.",
"de": "Frage und Antwort zum Gesprächsdialog. Informationen zur Verwendung finden Sie in der Readme-Datei.",
"ru": "Вопрос и ответ для диалога. Смотрите readme для того, чтобы использовать.",
"pt": "Perguntas e respostas para o diálogo de conversação. Consulte o leia-me para saber como usar.",
"nl": "Vraag en antwoord voor gespreksdialoog. Zie leesmij voor gebruik.",
"fr": "Question et réponse pour le dialogue de conversation. Voir le readme pour savoir comment l'utiliser.",
"it": "Domanda e risposta per la finestra di dialogo di conversazione. Vedi il file Leggimi per come usare.",
"es": "Preguntas y respuestas para el diálogo de conversación. Consulte el archivo Léame para saber cómo usarlo.",
"pl": "Pytania i odpowiedzi do dialogu rozmowy. Zobacz, jak używać.",
"zh-cn": "对话对话框的问答。有关使用方法,请参见自述文件。"
},
"type": "string",
"role": "state"
"name": "Question and answer for conversation ",
"desc": "Question and answer for conversation dialog. See readme for how to use.",
"desc1": {
"en": "Question and answer for conversation dialog. See readme for how to use.",
"de": "Frage und Antwort zum Gesprächsdialog. Informationen zur Verwendung finden Sie in der Readme-Datei.",
"ru": "Вопрос и ответ для диалога. Смотрите readme для того, чтобы использовать.",
"pt": "Perguntas e respostas para o diálogo de conversação. Consulte o leia-me para saber como usar.",
"nl": "Vraag en antwoord voor gespreksdialoog. Zie leesmij voor gebruik.",
"fr": "Question et réponse pour le dialogue de conversation. Voir le readme pour savoir comment l'utiliser.",
"it": "Domanda e risposta per la finestra di dialogo di conversazione. Vedi il file Leggimi per come usare.",
"es": "Preguntas y respuestas para el diálogo de conversación. Consulte el archivo Léame para saber cómo usarlo.",
"pl": "Pytania i odpowiedzi do dialogu rozmowy. Zobacz, jak używać.",
"zh-cn": "对话对话框的问答。有关使用方法,请参见自述文件。"
},
"type": "string",
"role": "state"
},
"native": {}
},
Expand Down Expand Up @@ -407,4 +419,4 @@
"native": {}
}
]
}
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.lovelace",
"version": "1.0.9",
"version": "1.0.10",
"description": "With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI",
"author": {
"name": "bluefox",
Expand All @@ -27,29 +27,29 @@
"mime": "^2.4.4",
"multer": "^1.4.2",
"pinyin": "^2.9.0",
"request": "^2.88.0",
"request": "^2.88.2",
"ws": "^7.2.1",
"jstimezonedetect": "^1.0.7"
},
"devDependencies": {
"@types/chai": "^4.2.7",
"@types/chai": "^4.2.9",
"@types/chai-as-promised": "^7.1.2",
"@types/gulp": "^4.0.6",
"@types/mocha": "^5.2.7",
"@types/node": "^13.1.6",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^7.5.1",
"@types/sinon-chai": "^3.2.3",
"axios": "^0.19.1",
"axios": "^0.19.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.8.0",
"gulp": "^4.0.2",
"mocha": "^7.0.0",
"mocha": "^7.0.1",
"proxyquire": "^2.1.3",
"sinon": "^8.0.4",
"sinon": "^8.1.1",
"sinon-chai": "^3.4.0",
"tslint": "^5.20.1"
"tslint": "^6.0.0"
},
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 523018c

Please sign in to comment.