From: Giorgio Ravera Date: Thu, 10 Dec 2020 14:58:35 +0000 (+0100) Subject: Changed sun elevation referent to switch on lights. X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=ab9e621b695ef260312d045428d0156da06dfbf3;p=homeassistant.git Changed sun elevation referent to switch on lights. --- diff --git a/automations/doors.yaml b/automations/doors.yaml index e37a14b3..85bcc955 100644 --- a/automations/doors.yaml +++ b/automations/doors.yaml @@ -16,7 +16,7 @@ entity_id: binary_sensor.main_door_contact to: 'on' - condition: "{{ (state_attr('sun.sun', 'elevation') | int) < 10 }}" + condition: "{{ (state_attr('sun.sun', 'elevation') | int) < 1 }}" action: - delay: 00:00:01