Hey guys,
how do I select ESPHome led effects via homeassistant automations? I can do it via the GUI but I did not achieve it via automations.
Thanks for your assistance
Hey guys,
how do I select ESPHome led effects via homeassistant automations? I can do it via the GUI but I did not achieve it via automations.
Thanks for your assistance
Which GUI? Home Assistant or ESPHome?
Show your device YAML code.
I can do it via the homeassistant GUI (see screenshot)
All I want to do is start one of these effects via a simple automation from homeassistant instead of the GUI. However, I donβt really find info on how to do so.
Thanks for the quick reply!
Again. Show the YAML code for the device and for the card.
Here is the YAML code for the device:
light:
- platform: neopixelbus
type: GRB
variant: WS2812
id: test_led_strip
pin: GPIO3
num_leds: 8
name: "NeoPixel Light"
effects:
- flicker:
In Hass, I tried different things. I just now tried this and it worked:
service: homeassistant.turn_on
data:
effect: Flicker
target:
entity_id: light.neopixel_light
device_id: 14e186570767b358cfa30eee73b069a5
Thanks anyway It took me some time to figure it out.
This is what I use:
- service: light.turn_on
target:
entity_id: light.neopixel_light
data:
effect: Flicker