From d4a33e1bd93c4c69bb60f15133874cc5c4d06ebb Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 10 Dec 2015 09:06:34 -0800 Subject: [PATCH] Update rainy day config --- source/_cookbook/automation_for_rainy_days.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_cookbook/automation_for_rainy_days.markdown b/source/_cookbook/automation_for_rainy_days.markdown index 41cc17f406e..63d78ce3d4c 100644 --- a/source/_cookbook/automation_for_rainy_days.markdown +++ b/source/_cookbook/automation_for_rainy_days.markdown @@ -33,8 +33,8 @@ automation: condition: use_trigger_values action: - execute_service: light.turn_on - service_entity_id: light.couch_lamp + service: light.turn_on + entity_id: light.couch_lamp ``` And then of course turn off the lamp when it stops raining but only if it's within an hour before sunset. @@ -52,7 +52,7 @@ automation 2: condition: use_trigger_values action: - execute_service: light.turn_off - service_entity_id: light.couch_lamp + service: light.turn_off + entity_id: light.couch_lamp ```