The config files for my esphome devices
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.

59 lines
1.3 KiB

substitutions:
light_restore_mode: RESTORE_DEFAULT_ON
color_interlock: 'true'
esphome:
board: esp8285
platform: ESP8266
name: ${hostname}
build_path: ./build/${hostname}
#on_boot:
# then:
# - script.execute: fast_boot_script
packages:
base: !include ../common/base.yaml
basicSensors: !include ../common/basicSensors.yaml
output:
- platform: esp8266_pwm
id: red_output
pin: GPIO4
min_power: 0.000499
max_power: 1
- platform: esp8266_pwm
id: green_output
pin: GPIO12
min_power: 0.000499
max_power: 1
- platform: esp8266_pwm
id: blue_output
pin: GPIO14
min_power: 0.000499
max_power: 1
- platform: esp8266_pwm
id: warm_white_output
pin: GPIO13
min_power: 0.000499
max_power: 1
- platform: esp8266_pwm
id: white_output
pin: GPIO5
min_power: 0.000499
max_power: 1
light:
- platform: rgbww
id: light1
name: "${friendly_name} Bulb"
restore_mode: ${light_restore_mode}
red: red_output
green: green_output
blue: blue_output
warm_white: warm_white_output
cold_white: white_output
cold_white_color_temperature: 6000 K
warm_white_color_temperature: 3000 K
color_interlock: ${color_interlock}
effects: !include ../common/lightEffects.yaml