1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 16:25:50 +00:00

Fix strobe/flicker effect not using selected value (#749)

Fixes https://github.com/esphome/issues/issues/562
This commit is contained in:
Otto Winter
2019-10-17 19:15:02 +02:00
committed by GitHub
parent 996c50e8f2
commit aae633277f
2 changed files with 8 additions and 5 deletions

View File

@@ -291,7 +291,7 @@ class LightState : public Nameable, public Component {
void start_flash_(const LightColorValues &target, uint32_t length);
/// Internal method to set the color values to target immediately (with no transition).
void set_immediately_(const LightColorValues &target);
void set_immediately_(const LightColorValues &target, bool set_remote_values);
/// Internal method to start a transformer.
void set_transformer_(std::unique_ptr<LightTransformer> transformer);