mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 07:14:10 +01:00
Add --- to make valid yaml's and fix all commented indentations
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: bedroom-lamp-right
|
||||
name: Bedroom Lamp Right
|
||||
@@ -92,7 +93,7 @@ script:
|
||||
id: my_light_mode
|
||||
state: white
|
||||
then:
|
||||
- front_panel.turn_on_leds: [ POWER, COLOR ]
|
||||
- front_panel.turn_on_leds: [POWER, COLOR]
|
||||
- front_panel.set_level: !lambda return id(current_brightness);
|
||||
# In night light mode, turn off the front panel illumination, except
|
||||
# for the power button.
|
||||
@@ -102,7 +103,7 @@ script:
|
||||
id: my_light_mode
|
||||
state: night
|
||||
then:
|
||||
- front_panel.turn_on_leds: [ POWER ]
|
||||
- front_panel.turn_on_leds: [POWER]
|
||||
- front_panel.update_leds:
|
||||
|
||||
# If you want to control light presets from Home Assistant, then you can
|
||||
@@ -198,18 +199,18 @@ light:
|
||||
# These bindings have been setup below, using the binary_sensor for
|
||||
# the color button.
|
||||
presets:
|
||||
# rgb:
|
||||
# red: { red: 100%, green: 0%, blue: 0% }
|
||||
# green: { red: 0%, green: 100%, blue: 0% }
|
||||
# blue: { red: 0%, green: 0%, blue: 100% }
|
||||
# yellow: { red: 100%, green: 100%, blue: 0% }
|
||||
# purple: { red: 100%, green: 0%, blue: 100% }
|
||||
# randomize: { effect: Fast Random }
|
||||
# rgb:
|
||||
# red: { red: 100%, green: 0%, blue: 0% }
|
||||
# green: { red: 0%, green: 100%, blue: 0% }
|
||||
# blue: { red: 0%, green: 0%, blue: 100% }
|
||||
# yellow: { red: 100%, green: 100%, blue: 0% }
|
||||
# purple: { red: 100%, green: 0%, blue: 100% }
|
||||
# randomize: { effect: Fast Random }
|
||||
white:
|
||||
cold: { color_temperature: 153 mireds }
|
||||
chilly: { color_temperature: 275 mireds }
|
||||
luke: { color_temperature: 400 mireds }
|
||||
warm: { color_temperature: 588 mireds }
|
||||
cold: {color_temperature: 153 mireds}
|
||||
chilly: {color_temperature: 275 mireds}
|
||||
luke: {color_temperature: 400 mireds}
|
||||
warm: {color_temperature: 588 mireds}
|
||||
|
||||
# Binary sensors can be created for handling front panel touch / release
|
||||
# events. To specify what part of the front panel to look at, the "for"
|
||||
|
||||
Reference in New Issue
Block a user