mirror of
https://github.com/esphome/esphome.git
synced 2026-09-02 02:56:01 +00:00
0417de007a71a6c262b8309401aee350e100f5b5
Making set_new_state virtual means callers like send_state_internal and invalidate_state resolve via vtable dispatch to the .cpp, avoiding template bloat without needing out-of-line tricks or hiding declarations. BinarySensor overrides set_new_state directly for logging and ControllerRegistry notification, matching the original pattern.
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
585 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
