athom-tech / esp32-configs

ESP32 configuration for athom device
26 stars 8 forks source link

replaced update with throttle #4

Closed GelsemaP closed 6 months ago

GelsemaP commented 7 months ago

as update_interval is obsolete for the sensor as described in https://github.com/esphome/esphome/pull/6095 i have change update_interval to throttle with interval of 5 seconds and with current being averaged out. It's working for me, can update.

Fixed it by creating a fork, updating the yaml and update the yaml in HA in the esphome integration to point to the new yaml as package.

GelsemaP commented 6 months ago

It seems that soon in esphome .3 this change might need reversing as it is partially reversed…