J. Nick Koston 1e2c5fbc4e [binary_sensor] Update state before firing callbacks in set_new_state
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.
2026-03-22 16:13:35 -10:00
2025-12-21 09:26:03 -05:00
2025-12-08 14:37:45 -05:00
2026-03-12 07:34:53 +13:00
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%