1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Remove template switch restore_state (#5106)

This commit is contained in:
Jesse Hills
2023-07-17 09:11:43 +12:00
committed by GitHub
parent 508392db6e
commit 8c6cddf1bb
4 changed files with 3 additions and 11 deletions

View File

@@ -2475,7 +2475,6 @@ switch:
level: !lambda "return 0.5;"
turn_off_action:
- switch.turn_on: living_room_lights_off
restore_state: false
on_turn_on:
- switch.template.publish:
id: livingroom_lights
@@ -2511,7 +2510,6 @@ switch:
}
optimistic: true
assumed_state: false
restore_state: true
on_turn_off:
- switch.template.publish:
id: my_switch