Skip to content

Commit

Permalink
Merge pull request #145 from Grizzelbee/Development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Grizzelbee authored Oct 6, 2021
2 parents 2338dd3 + 9a84580 commit 4edeac1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"common": {
"name": "dysonairpurifier",
"version": "2.1.0",
"version": "2.1.1",
"news": {
"2.1.0": {
"2.1.1": {
"en": "* (grizzelbee) New: Added some more data points, * (grizzelbee) New: Added switch for temperature unit of the fan display,* (grizzelbee) New: Improved logging of unknown data points,* (germanBluefox) Fix: Fixed icon links,* (grizzelbee) Fix: fixed dependencies badge,* (grizzelbee) Fix: added missing dependency plugin-sentry",
"de": "* (grizzelbee) Neu: Einige weitere Datenpunkte hinzugefügt, * (grizzelbee) Neu: Schalter für Temperatureinheit der Lüfteranzeige hinzugefügt,* (grizzelbee) Neu: Verbesserte Protokollierung unbekannter Datenpunkte,* (germanBluefox) Fix: Icon-Links korrigiert ",
"ru": "* (grizzelbee) Новое: добавлено несколько точек данных, * (grizzelbee) Новое: добавлен переключатель для единицы температуры дисплея вентилятора, * (grizzelbee) Новое: улучшена регистрация неизвестных точек данных, * (germanBluefox) Исправлено: исправлены ссылки на значки ",
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class dysonAirPurifier extends utils.Adapter {
dysonAction = ActionData[0];
}
this.log.debug('onStateChange: Using dysonAction: [' + dysonAction + ']');
let messageData = {[dysonAction]: state.val};
let messageData = {[dysonAction]: (typeof state.val === 'number'? dysonUtils.zeroFill(state.val, 4): state.val)};
switch (dysonAction) {
case 'Hostaddress' :
for (const mqttDevice in devices){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.dysonairpurifier",
"version": "2.1.0",
"version": "2.1.1",
"description": "dyson air purifiers and fans",
"author": {
"name": "grizzelbee",
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,14 @@ Which is what the dyson app does also.

## Changelog

### V2.1.0 (2021-10-05) (Running to the edge)
### V2.1.1 (2021-10-05) (Running to the edge)
* (grizzelbee) New: Added some more data points
* (grizzelbee) New: Added switch for temperature unit of the fan display
* (grizzelbee) New: Improved logging of unknown data points
* (germanBluefox) Fix: Fixed icon links
* (grizzelbee) Fix: fixed dependencies badge
* (grizzelbee) Fix: added missing dependency plugin-sentry
* (grizzelbee) Fix: Setting HumidificationTarget now works

### V2.0.1 (2021-10-04) (Lost in forever)
* (grizzelbee) Fix: Turning on HeatingMode should work now
Expand Down

0 comments on commit 4edeac1

Please sign in to comment.