mirror of https://github.com/esphome/esphome.git
YAML code formating
This commit is contained in:
parent
75fcbc097d
commit
630fb11758
|
@ -55,59 +55,59 @@ binary_sensor:
|
|||
- status.pop: custom_status1
|
||||
|
||||
status_indicator:
|
||||
on_turn_off: #Manditory
|
||||
on_turn_off: # Manditory
|
||||
- light.turn_off:
|
||||
id: led
|
||||
|
||||
on_app_error:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: None
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: None
|
||||
|
||||
on_app_warning:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: Slow Pulse
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: Slow Pulse
|
||||
|
||||
on_wifi_ap_enabled:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 100%
|
||||
blue: 50%
|
||||
brightness: 100%
|
||||
effect: None
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 100%
|
||||
blue: 50%
|
||||
brightness: 100%
|
||||
effect: None
|
||||
|
||||
on_network_disconnected:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: Fast Pulse
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 0%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: Fast Pulse
|
||||
|
||||
on_api_disconnected:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 100%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: Fast Pulse
|
||||
- light.turn_on:
|
||||
id: led
|
||||
red: 100%
|
||||
green: 100%
|
||||
blue: 0%
|
||||
brightness: 100%
|
||||
effect: Fast Pulse
|
||||
|
||||
on_custom_status:
|
||||
- trigger_id: custom_status1
|
||||
|
|
Loading…
Reference in New Issue