My D1 Mini config works and LEDs turn on fine, but when I try to add any effects, the compiler says it cannot find any of them. This is totally stumping me. Anyone see anything wrong here?
I have tried using both syntax (using a list and string literals)
esphome:
name: depot_vaccum_port
platform: ESP8266
board: d1_mini
wifi:
ssid: "*******"
password: "*******"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Droid Depot Vaccum Port"
password: "*********"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "*********"
ota:
password: "*********"
output:
- platform: gpio
pin: D6
id: gpio_D6
light:
- platform: monochromatic
output: gpio_D6
name: 'Vacuume display blue LED'
id: vaccume_display_blue_led
effects:
- pulse:
I wasnt posting the picture to show code. I was showing the picture to show the error in the editor. Thanks
No I did not define the effect. I was just following the documentation
“ESPHome also offers a bunch of light effects you can use for your lights.”
Is there documentation on how to get a library added if its not already part of compilation?
vincen
(Vincèn)
March 28, 2022, 12:45pm
4
Post whole ESPHome code but link you indicate gives you all explanations how to define some light presets in ESPHome
jsuanet
(Jos)
March 28, 2022, 1:17pm
5
Following the documentation you posted, the effect is without a capital P, so change your yaml to:
effects:
- pulse:
Yeah like I said I tried both. Same result.
effects:
- pulse:
and
effects: "Pulse"
and
effects: Pulse
all return with the same error.
Yes tried what the documentation mentions. Thats why I am here asking.
Posted all the code thanks
Uninstalling ESPHOME from HA and reinstalling fixed this issue.