mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 04:20:56 +00:00
Paul Monigatti
867fecd157
Fix: Light flash not restoring previous LightState (#2383)
* Update light state when transformer has finished * Revert writing direct to output * Correct handling of zero-length light transformers * Allow transformers to handle zero-length transitions, and check more boundary conditions when transitioning back to start state * Removed log.h * Fixed race condition between LightFlashTransformer.apply() and is_finished() * clang-format * Step progress from 0.0f to 1.0f at t=start_time for zero-length transforms to avoid divide-by-zero
ESPHome
Documentation: https://esphome.io/
For issues, please go to the issue tracker.
For feature requests, please see feature requests.
Description
Languages
C++
70.1%
Python
29.6%
C
0.1%