Open zonak opened 10 years ago
During some testing with a Smart Energy Switch from Aeon Labs, I noticed that the values passed to the event listeners are rounded. I will try to illustrate with an example.
Here's a value we can see in the zcfg.xml file:
zcfg.xml
<Value type="decimal" genre="user" instance="1" index="0" label="Energy" units="kWh" read_only="true" write_only="false" verify_changes="true" poll_intensity="0" min="0" max="0" value="0.011" />
But the reported value in the value changed listener or any other is 0.
value changed
0
Is it possible to avoid the rounding and get the real values?
During some testing with a Smart Energy Switch from Aeon Labs, I noticed that the values passed to the event listeners are rounded. I will try to illustrate with an example.
Here's a value we can see in the
zcfg.xml
file:But the reported value in the
value changed
listener or any other is0
.Is it possible to avoid the rounding and get the real values?