In my setup I observed that it is possible for MQTT/CBus to get out of sync, and for MQTT send receive to suppress setting CBus because it thinks the set from MQTT is identical to that set previously.
This commit limits the prior value comparison to floating point numbers only (usually sensors), which will force sync any anomalies on next set.
I've not yet got to the bottom of why the out-of-sync states can occur.
In my setup I observed that it is possible for MQTT/CBus to get out of sync, and for MQTT send receive to suppress setting CBus because it thinks the set from MQTT is identical to that set previously.
This commit limits the prior value comparison to floating point numbers only (usually sensors), which will force sync any anomalies on next set.
I've not yet got to the bottom of why the out-of-sync states can occur.