First of all I would like to thank you for perfect dashboard. It's much better for HMI then normal one :)
I have found some bug related to building blocks for Humidity sensor. When in domoticz there is defined sensor only with Humidity sensor it is build twice (one with temperature icon and one with humidity).
The problem is laying in main.js file, funtion getTempHumBarBlock(device, idx)
I have corrected it by creating a new function called getHumBlock(device, idx); and changing the switch switch (device['Type'])
My changes are below, if you would like you can marge them to you branch. :)
Hello,
First of all I would like to thank you for perfect dashboard. It's much better for HMI then normal one :)
I have found some bug related to building blocks for Humidity sensor. When in domoticz there is defined sensor only with Humidity sensor it is build twice (one with temperature icon and one with humidity).![block_humidity](https://user-images.githubusercontent.com/40031567/41195149-a75bdb02-6c28-11e8-89dc-731162b8a150.PNG)
The problem is laying in main.js file, funtion getTempHumBarBlock(device, idx)
I have corrected it by creating a new function called getHumBlock(device, idx); and changing the switch switch (device['Type'])
My changes are below, if you would like you can marge them to you branch. :)
After this change, when sensor has only Humidity defined is represented as one block:
Best regards,
Adrian