mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
a3a1a8799ae00335d99abe5813627dbbfe9d4764
Deprecate direct access to sensor .raw_state member in favor of get_raw_state(). This prepares for eventually compiling out raw_state on builds without sensor filters, saving 4 bytes per sensor instance. Guard raw_callback_ and add_on_raw_state_callback behind USE_SENSOR_FILTER, saving 4 bytes per sensor on builds without filters immediately. Guard SensorRawStateTrigger behind USE_SENSOR_FILTER and ensure on_raw_value automation sets USE_SENSOR_FILTER define. Fix nextion sensor to stop directly writing .raw_state/.state members - the publish=false path was redundantly setting already-current values. Migrate haier hon_climate from .raw_state to get_raw_state().
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
545 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
