This commit fixes warnings that are given by esphome because of changes to the color structure.
See the lightning effect for example:
/config/substitutions/esphome_led_effects/effects/lightning.yaml: In lambda function:
/config/substitutions/esphome_led_effects/effects/lightning.yaml:15:20: warning: 'esphome::COLOR_BLACK' is deprecated: Use Color::BLACK instead of COLOR_BLACK [-Wdeprecated-declarations]
15 | it.all() = COLOR_BLACK;
| ^~~~~~~~~~
In file included from src/esphome/components/light/addressable_light.h:5,
from src/esphome.h:21,
from src/main.cpp:3:
src/esphome/core/color.h:177:20: note: declared here
177 | extern const Color COLOR_BLACK;
| ^~~~~~~~~~~
/config/substitutions/esphome_led_effects/effects/lightning.yaml:24:20: warning: 'esphome::COLOR_BLACK' is deprecated: Use Color::BLACK instead of COLOR_BLACK [-Wdeprecated-declarations]
24 | it.all() = COLOR_BLACK;
| ^~~~~~~~~~
In file included from src/esphome/components/light/addressable_light.h:5,
from src/esphome.h:21,
from src/main.cpp:3:
src/esphome/core/color.h:177:20: note: declared here
177 | extern const Color COLOR_BLACK;
| ^~~~~~~~~~~
This commit fixes warnings that are given by esphome because of changes to the color structure. See the lightning effect for example: