diff --git a/configuration/automations/brightness.yaml b/configuration/automations/brightness.yaml index c16e142..6295f06 100644 --- a/configuration/automations/brightness.yaml +++ b/configuration/automations/brightness.yaml @@ -9,6 +9,10 @@ hours: 0 minutes: 1 seconds: 0 + condition: + - condition: state + entity_id: input_select.home_mode + state: Day action: - service: cover.close_cover target: @@ -56,6 +60,10 @@ hours: 0 minutes: 1 seconds: 0 + condition: + - condition: state + entity_id: input_select.home_mode + state: Day action: - service: script.office_lights_off @@ -66,7 +74,7 @@ - platform: numeric_state entity_id: sensor.office_illuminance above: '30' - below: '150' + below: '800' for: hours: 0 minutes: 0 @@ -74,7 +82,7 @@ - platform: numeric_state entity_id: sensor.office_illuminance above: '30' - below: '150' + below: '800' for: hours: 0 minutes: 1 @@ -82,7 +90,7 @@ - platform: numeric_state entity_id: sensor.office_illuminance above: '30' - below: '150' + below: '800' for: hours: 0 minutes: 2 @@ -90,11 +98,15 @@ - platform: numeric_state entity_id: sensor.office_illuminance above: '30' - below: '150' + below: '800' for: hours: 0 minutes: 3 seconds: 0 + condition: + - condition: state + entity_id: input_select.home_mode + state: Day action: - choose: - conditions: @@ -126,6 +138,10 @@ hours: 0 minutes: 1 seconds: 0 + condition: + - condition: state + entity_id: input_select.home_mode + state: Day action: - service: cover.close_cover target: