mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
Add test
This commit is contained in:
parent
d3579b99f9
commit
c0110ab9e1
@ -806,6 +806,7 @@ switch:
|
|||||||
level: !lambda 'return 0.5;'
|
level: !lambda 'return 0.5;'
|
||||||
turn_off_action:
|
turn_off_action:
|
||||||
- switch.turn_on: living_room_lights_off
|
- switch.turn_on: living_room_lights_off
|
||||||
|
restore_state: False
|
||||||
- platform: restart
|
- platform: restart
|
||||||
name: "Living Room Restart"
|
name: "Living Room Restart"
|
||||||
- platform: shutdown
|
- platform: shutdown
|
||||||
@ -832,6 +833,7 @@ switch:
|
|||||||
// Switch is OFF, do something else here
|
// Switch is OFF, do something else here
|
||||||
}
|
}
|
||||||
optimistic: true
|
optimistic: true
|
||||||
|
restore_state: True
|
||||||
- platform: uart
|
- platform: uart
|
||||||
name: "UART String Output"
|
name: "UART String Output"
|
||||||
data: 'DataToSend'
|
data: 'DataToSend'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user