mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 00:58:40 +00:00
a5cba91729811ea953ba1f3354dba1d2d215e27e
Short form `- throttle_with_priority: 1s` and explicit `value: nan` previously generated a `ThrottleWithPriorityFilter<1>` with a lambda returning NAN stored in a `TemplatableFn<float>` array. Detect this common case at codegen time and emit a new `ThrottleWithPriorityNanFilter` that inlines the `std::isnan()` check. Behavior is preserved: NaN sensor readings still bypass the throttle.
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
604 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
