Move to _data along with some misc clean-up.
This commit is contained in:
51
_data/downlight_1.yaml
Normal file
51
_data/downlight_1.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
esphome:
|
||||
name: downlight01
|
||||
platform: ESP8266
|
||||
board: esp01_1m
|
||||
|
||||
wifi:
|
||||
ssid: "kungle-oss"
|
||||
password: "hcfU8@gG&8Hm"
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
|
||||
my9231:
|
||||
data_pin: GPIO13
|
||||
clock_pin: GPIO15
|
||||
num_channels: 4
|
||||
num_chips: 1
|
||||
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
pin: 14
|
||||
id: output_blue
|
||||
- platform: esp8266_pwm
|
||||
pin: 12
|
||||
id: output_green
|
||||
- platform: esp8266_pwm
|
||||
pin: 4
|
||||
id: output_red
|
||||
- platform: esp8266_pwm
|
||||
pin: 5
|
||||
id: output_coldwhite
|
||||
- platform: esp8266_pwm
|
||||
pin: 13
|
||||
id: output_warmwhite
|
||||
|
||||
light:
|
||||
- platform: rgbww
|
||||
name: '${device_name} Light'
|
||||
default_transition_length: 0s
|
||||
red: output_red
|
||||
green: output_green
|
||||
blue: output_blue
|
||||
cold_white: output_coldwhite
|
||||
warm_white: output_warmwhite
|
||||
cold_white_color_temperature: 6500 K
|
||||
warm_white_color_temperature: 2700 K
|
||||
Reference in New Issue
Block a user