Addressable light transition (#750)

* Improve addressable light transition behavior

Fixes https://github.com/esphome/issues/issues/555

* Improve addressable flicker effect

See also https://github.com/esphome/feature-requests/issues/348

* Update addressable_light_effect.h

* Refactor

* Format

* Prevent divide by zero

* Fixes
This commit is contained in:
Otto Winter
2019-10-18 16:27:36 +02:00
committed by GitHub
parent b78b28ea0e
commit 95a74a7f19
6 changed files with 117 additions and 42 deletions
+1
View File
@@ -277,6 +277,7 @@ class LightState : public Nameable, public Component {
protected:
friend LightOutput;
friend LightCall;
friend class AddressableLight;
uint32_t hash_base() override;