From d0ad02b118bdb8a75d94d3894b8285ae6f00f6dc Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 19 Oct 2022 22:44:51 +0200 Subject: [PATCH] Update brightness --- configuration/automations/brightness.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configuration/automations/brightness.yaml b/configuration/automations/brightness.yaml index 89e8b17..71ffeb5 100644 --- a/configuration/automations/brightness.yaml +++ b/configuration/automations/brightness.yaml @@ -22,10 +22,10 @@ trigger: - platform: numeric_state entity_id: sensor.office_illuminance - below: '160' + below: '150' for: hours: 0 - minutes: 2 + minutes: 5 seconds: 0 condition: - condition: or @@ -39,6 +39,9 @@ - condition: state entity_id: device_tracker.amdn4684 state: 'home' + - condition: state + entity_id: input_select.home_mode + state: Day action: - service: script.office_lights_on