mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +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
546 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
