Hi!
I am beginner in esphome. I am in the process of migrating from a device programmed in C/C++ to esphome+HA.
So far I managed to set up a DIY project to control a gate using esp8266 and 4 relays in H-bridge.
But I want to make a simple led pulsate and I haven’t succeeded so far.
This is the interesting part. How should I make it work?
output:
- platform: gpio
#for led blinking
pin: GPIO2
id: led
light:
- platform: monochromatic
output: led
id: led_pulse
effects:
- pulse:
name: "Slow Pulse"
# transition_length: 1s # defaults to 1s
update_interval: 2s
min_brightness: 0%
max_brightness: 80%
I tried to test the functionality with the code below but was unsuccessful:
interval:
- interval: 10s
then:
- light.toggle: led_pulse
Thanks in advance for any help!