diff --git a/configuration/automations/brightness.yaml b/configuration/automations/brightness.yaml index 71ffeb5..601d6a2 100644 --- a/configuration/automations/brightness.yaml +++ b/configuration/automations/brightness.yaml @@ -72,11 +72,24 @@ minutes: 1 seconds: 0 action: - - service: cover.open_cover - target: - entity_id: - - cover.dining_blinds - - service: script.office_blinds_up + - choose: + - conditions: + - condition: numeric_state + entity_id: cover.office_blinds + attribute: current_position + above: 49 + sequence: + - service: cover.set_cover_position + data: + position: 50 + target: + entity_id: cover.office_blinds + default: + - service: cover.open_cover + target: + entity_id: + - cover.dining_blinds + - service: script.office_blinds_up - id: brightness-bright alias: '[Brightness] Bright - close covers'