From ac41f380442b8ce4d52c91f39362a16530729bdb Mon Sep 17 00:00:00 2001 From: James Walker Date: Tue, 9 Jun 2026 19:56:05 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20tweak=20lab=20blind=20closing=20?= =?UTF-8?q?automation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .HA_VERSION | 2 +- automations/lab/blinds.yaml | 25 +++++++++++++++++++------ 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.HA_VERSION b/.HA_VERSION index cb90fee..6390113 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2026.4.1 \ No newline at end of file +2026.6.1 \ No newline at end of file diff --git a/automations/lab/blinds.yaml b/automations/lab/blinds.yaml index 4fec0f9..bf63a82 100644 --- a/automations/lab/blinds.yaml +++ b/automations/lab/blinds.yaml @@ -5,11 +5,24 @@ - platform: sun event: sunset offset: 0 - condition: [] action: - - service: cover.close_cover - metadata: {} - data: {} - target: - entity_id: cover.lab_blinds + - choose: + - conditions: + - condition: state + entity_id: input_boolean.lab_window_ac + state: "on" + sequence: + - service: cover.set_cover_position + target: + entity_id: cover.lab_blinds_right_cover + data: + position: 40 + - service: cover.close_cover + target: + entity_id: cover.lab_blinds_left_cover + + default: + - service: cover.close_cover + target: + entity_id: cover.lab_blinds mode: single