From c0110ab9e106ca3a98e386c278c5dc336ab7a06c Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 7 Nov 2018 23:29:05 +0100 Subject: [PATCH] Add test --- tests/test1.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test1.yaml b/tests/test1.yaml index 9d7ca7cb8a..ee8073aa82 100644 --- a/tests/test1.yaml +++ b/tests/test1.yaml @@ -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'