issues
search
Daniel-dev22
/
esphome-econet
5
stars
1
forks
source link
Switch to a push model instead of polling
#30
Closed
tronikos
closed
1 year ago
tronikos
commented
1 year ago
Switch to a push model, similar to Tuya, which is more efficient than polling.
Moved all configuration to yaml, similar to Tuya. Any future additional sensors will only require yaml changes which simplifies the process even more.
Sensors that get raw values (air handler CFM and RPM) use on_datapoint_update trigger similar to Tuya, see
https://esphome.io/components/tuya#on-datapoint-update
On reboot, until the device receives data, HA should now get unknown for all the entities instead of 0 that was getting before which could unintentionally trigger automations.