dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Fix LIDL smart plug consumption reporting 0 #7530

Closed Pirionfr closed 6 months ago

Pirionfr commented 8 months ago

fix consumption reporting 0 because of missing semicolon

manup commented 8 months ago

Hmm sure about this? It the semicolon shouldn't make any difference here.

Pirionfr commented 8 months ago

I added it in my ddf and data was available in the api

Pirionfr commented 8 months ago

after deconz plugins restart is home assistant it's doesn't increase over the api. so you are right

Pirionfr commented 8 months ago

image but in the API image

mattreim commented 6 months ago

Please try this: "Item.val = Attr.val 10;" or "Item.val = Math.round(Attr.val 10);"

I think it's because of the small "i".

Pirionfr commented 6 months ago

it's as been fixes in last beta version.