mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 10:10:56 +00:00
Jacob Masen-Smith
9a8bc9484d
Fix the initial run of lambda light effects (#5921)
The timer used for `millis()` is a monotonic timer based on the last start time of the device. If, for some reason, you pick a long `update_interval` and try to apply it as soon as you start the device, nothing happens because the device hasn't been on for longer than the `update_interval`
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%