You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
613 B
42 lines
613 B
4 years ago
|
# Basic Config
|
||
|
esphome:
|
||
|
name: hall_celieng_light
|
||
|
platform: ESP8266
|
||
|
board: esp8285
|
||
|
|
||
|
wifi:
|
||
|
ssid: !secret wifi-ssid
|
||
|
password: !secret wifi-password
|
||
|
|
||
|
logger:
|
||
|
api:
|
||
|
ota:
|
||
|
|
||
|
# Device Specific Config
|
||
|
|
||
|
light:
|
||
|
- platform: rgbw
|
||
|
id: celing
|
||
|
name: "Hall Celing"
|
||
|
color_interlock: true
|
||
|
red: Red
|
||
|
green: Green
|
||
|
blue: Blue
|
||
|
white: White
|
||
|
restore_mode: ALWAYS_ON
|
||
|
|
||
|
output:
|
||
|
- platform: esp8266_pwm
|
||
|
pin: GPIO14
|
||
|
id: Red
|
||
|
- platform: esp8266_pwm
|
||
|
pin: GPIO12
|
||
|
id: Green
|
||
|
- platform: esp8266_pwm
|
||
|
pin: GPIO05
|
||
|
id: Blue
|
||
|
- platform: esp8266_pwm
|
||
|
pin: GPIO15
|
||
|
id: White
|
||
|
|