mirror of
https://github.com/esphome/esphome.git
synced 2026-03-27 10:41:32 +08:00
1e2c5fbc4e2dec9d86912ee81353a52986c58375
Move set_has_state and set_state_value_ before callback invocations so callback code can inspect the entity's current state via get_state()/has_state(). The old state is passed as a parameter. Addresses Copilot review feedback.
…
…
…
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
632 MiB
Languages
C++
63.3%
Python
36.3%
C
0.3%
