1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00
This commit is contained in:
Otto Winter 2018-11-07 23:29:05 +01:00
parent d3579b99f9
commit c0110ab9e1
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -806,6 +806,7 @@ switch:
level: !lambda 'return 0.5;'
turn_off_action:
- switch.turn_on: living_room_lights_off
restore_state: False
- platform: restart
name: "Living Room Restart"
- platform: shutdown
@ -832,6 +833,7 @@ switch:
// Switch is OFF, do something else here
}
optimistic: true
restore_state: True
- platform: uart
name: "UART String Output"
data: 'DataToSend'