Esphome was updated to 2024.2.0 and now I cant update my Athom V2 plugs because of I think this bugfix convert cse7766 to non-polling esphome#6095 by @ssieb (breaking-change) and I get this when I try to install the update on ESPHome addon from homeassistant INFO ESPHome 2024.2.0 INFO Reading configuration /config/esphome/eplug5.yaml... INFO Detected timezone 'America/Los_Angeles' Failed config sensor.cse7766: [source /data/packages/43f53298/athom-smart-plug-v2.yaml:86] platform: cse7766 [update_interval] is an invalid option for [sensor.cse7766]. Please check the indentation. update_interval: 10s current: name: Current filters: - lambda: if (x < 0.060) return 0.0; else return x; voltage: name: Voltage power: name: Power id: power_sensor filters: - lambda: if (x < 3.0) return 0.0; else return x; energy: name: Energy id: energy unit_of_measurement: kWh filters: - multiply: 0.001 on_value: then: - lambda: |- static float previous_energy_value = 0.0; float current_energy_value = id(energy).state; id(total_energy) += current_energy_value - previous_energy_value; previous_energy_value = current_energy_value;
top of page
Um dieses Feature zu testen, öffne deine Live-Website.
Comments (6)
bottom of page
Nice of you to post the link?
The YAML on GitHub that is linked from the Athom product page has indeed been updated to fix this ESPHome breaking change.
Same here. I think it’s a simple fix. update_interval: 10s needs removing and replaced by throttle_average: 10s . Normally this code is downloaded from GitHub on compilation (from athom-tech/esp32-configs/athom-smart-plug.yaml). I am assuming that athom will change this in the next day or two. If not it will mean downloading the package, changing it and then it should compile?
Same issue here.