Closed netmindz closed 2 years ago
sorry, hang fire, it's not always updating when it should. Can you see what i've done wrong?
@dawidchyrzynski Can you see what I'm doing wrong in the code? Looks like it should be ok, it's pretty simple but not working as intended and makes my code way simplier if i can just always call setValue like I do for the boolean version in my loop rather than keeping state tracking of all my different state values in my main project or else be spamming MQTT with the same values many times per second
Only publish when value changes, as the BinarySensor does, but for Sensor