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.pop: custom_status1
|
||||||
|
|
||||||
status_indicator:
|
status_indicator:
|
||||||
on_turn_off: #Manditory
|
on_turn_off: # Manditory
|
||||||
- light.turn_off:
|
- light.turn_off:
|
||||||
id: led
|
id: led
|
||||||
|
|
||||||
on_app_error:
|
on_app_error:
|
||||||
then:
|
then:
|
||||||
- light.turn_on:
|
- light.turn_on:
|
||||||
id: led
|
id: led
|
||||||
red: 100%
|
red: 100%
|
||||||
green: 0%
|
green: 0%
|
||||||
blue: 0%
|
blue: 0%
|
||||||
brightness: 100%
|
brightness: 100%
|
||||||
effect: None
|
effect: None
|
||||||
|
|
||||||
on_app_warning:
|
on_app_warning:
|
||||||
then:
|
then:
|
||||||
- light.turn_on:
|
- light.turn_on:
|
||||||
id: led
|
id: led
|
||||||
red: 100%
|
red: 100%
|
||||||
green: 0%
|
green: 0%
|
||||||
blue: 0%
|
blue: 0%
|
||||||
brightness: 100%
|
brightness: 100%
|
||||||
effect: Slow Pulse
|
effect: Slow Pulse
|
||||||
|
|
||||||
on_wifi_ap_enabled:
|
on_wifi_ap_enabled:
|
||||||
then:
|
then:
|
||||||
- light.turn_on:
|
- light.turn_on:
|
||||||
id: led
|
id: led
|
||||||
red: 100%
|
red: 100%
|
||||||
green: 100%
|
green: 100%
|
||||||
blue: 50%
|
blue: 50%
|
||||||
brightness: 100%
|
brightness: 100%
|
||||||
effect: None
|
effect: None
|
||||||
|
|
||||||
on_network_disconnected:
|
on_network_disconnected:
|
||||||
then:
|
then:
|
||||||
- light.turn_on:
|
- light.turn_on:
|
||||||
id: led
|
id: led
|
||||||
red: 100%
|
red: 100%
|
||||||
green: 0%
|
green: 0%
|
||||||
blue: 0%
|
blue: 0%
|
||||||
brightness: 100%
|
brightness: 100%
|
||||||
effect: Fast Pulse
|
effect: Fast Pulse
|
||||||
|
|
||||||
on_api_disconnected:
|
on_api_disconnected:
|
||||||
then:
|
then:
|
||||||
- light.turn_on:
|
- light.turn_on:
|
||||||
id: led
|
id: led
|
||||||
red: 100%
|
red: 100%
|
||||||
green: 100%
|
green: 100%
|
||||||
blue: 0%
|
blue: 0%
|
||||||
brightness: 100%
|
brightness: 100%
|
||||||
effect: Fast Pulse
|
effect: Fast Pulse
|
||||||
|
|
||||||
on_custom_status:
|
on_custom_status:
|
||||||
- trigger_id: custom_status1
|
- trigger_id: custom_status1
|
||||||
|
|
Loading…
Reference in New Issue