Apply color brightness to addressable light effects (#2321)

This commit is contained in:
Oxan van Leeuwen
2021-09-19 18:46:26 +02:00
committed by GitHub
parent 30eca885c9
commit 50da630811
3 changed files with 8 additions and 8 deletions
@@ -19,6 +19,9 @@ namespace light {
using ESPColor ESPDEPRECATED("esphome::light::ESPColor is deprecated, use esphome::Color instead.", "v1.21") = Color;
/// Convert the color information from a `LightColorValues` object to a `Color` object (does not apply brightness).
Color color_from_light_color_values(LightColorValues val);
class AddressableLight : public LightOutput, public Component {
public:
virtual int32_t size() const = 0;