deconz-rest-plugin icon indicating copy to clipboard operation
deconz-rest-plugin copied to clipboard

Fix LIDL smart plug consumption reporting 0

Open Pirionfr opened this issue 1 year ago • 4 comments

fix consumption reporting 0 because of missing semicolon

Pirionfr avatar Jan 14 '24 22:01 Pirionfr

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

manup avatar Jan 15 '24 10:01 manup

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

Pirionfr avatar Jan 15 '24 11:01 Pirionfr

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

Pirionfr avatar Jan 15 '24 22:01 Pirionfr

image but in the API image

Pirionfr avatar Jan 15 '24 23:01 Pirionfr

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".

mattreim avatar Mar 21 '24 20:03 mattreim

it's as been fixes in last beta version.

Pirionfr avatar Mar 21 '24 21:03 Pirionfr