Hello,
I’m checking the state of a number value, but it seems to fail on the rounding.
and in the template editor
when only showing this number it simplay says ‘0’
but while adding a 2nd request is suddenly says 0.0
for me this is confusing.
my automation checked state ‘0’ which was failing, now I changed it to ‘0.0’ to just hope it will work next time.
for a numeric state check I can only use above and below,
what would be the advised check in an automation?
- template,
- state
- numeric state
- somthing else?
I use state, but that should be ‘0.0’ then