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