mirror of
https://github.com/esphome/esphome.git
synced 2026-09-02 02:56:01 +00:00
db3cfaa3fc6d2f48958ce6b639cbcce5e6ed5741
Move send_state_internal back to .cpp to avoid duplicating it at each call site (publish_state and Filter::output). Optimize set_new_state to compare has_state + value directly instead of constructing optional<T> on stack for the comparison. Optionals are only constructed in the changed path for callbacks that need them.
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%
