31 lines
No EOL
590 B
YAML
31 lines
No EOL
590 B
YAML
esp8266:
|
|
board: esp01_1m
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
pin:
|
|
number: GPIO0
|
|
mode: INPUT_PULLUP
|
|
inverted: True
|
|
name: "${friendly_devicename} Touchpad"
|
|
on_press:
|
|
- light.toggle: light_switch
|
|
|
|
output:
|
|
- platform: esp8266_pwm
|
|
id: blue_led
|
|
pin: GPIO13
|
|
inverted: True
|
|
- platform: gpio
|
|
pin: GPIO12
|
|
id: relay
|
|
|
|
light:
|
|
- platform: monochromatic
|
|
name: "${friendly_devicename} WiFi LED"
|
|
output: blue_led
|
|
id: blue_led_light
|
|
- platform: binary
|
|
name: "${friendly_devicename} Licht"
|
|
output: relay
|
|
id: light_switch |