From ab9e621b695ef260312d045428d0156da06dfbf3 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Thu, 10 Dec 2020 15:58:35 +0100 Subject: [PATCH] Changed sun elevation referent to switch on lights. --- automations/doors.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3