From f8eacec2ffee4e4cb92186317f5d58844f297f36 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Fri, 17 Apr 2026 07:49:23 +0200 Subject: [PATCH] Erstat cover.anne sensor med binary_sensor.garageport (ThirdReality) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GoGoGate2 sensor er defekt - bruger nu ThirdReality garage door sensor til state-tjek. GoGoGate2 bruges stadig til at åbne/lukke porten. Entity registry opdateret med nye navne. --- dashboards/views/01_home.yaml | 7 +++++-- include/automations/garage_anne.yaml | 16 ++++++++-------- include/automations/lys_garage.yaml | 8 ++++---- .../open_garage_when_car_arrives.yaml | 8 ++++---- 4 files changed, 21 insertions(+), 18 deletions(-) diff --git a/dashboards/views/01_home.yaml b/dashboards/views/01_home.yaml index c5f0e3b..780ca9d 100644 --- a/dashboards/views/01_home.yaml +++ b/dashboards/views/01_home.yaml @@ -222,13 +222,16 @@ cards: show_state: true - type: tile - entity: cover.anne + entity: binary_sensor.garageport name: Garage icon: mdi:garage features_position: bottom vertical: false tap_action: - action: toggle + action: call-service + service: cover.toggle + target: + entity_id: cover.anne show_state: true # 🎵 Sonos diff --git a/include/automations/garage_anne.yaml b/include/automations/garage_anne.yaml index 34ef0f6..1edc767 100644 --- a/include/automations/garage_anne.yaml +++ b/include/automations/garage_anne.yaml @@ -4,16 +4,16 @@ trigger: - platform: state - entity_id: cover.anne - to: "open" + entity_id: binary_sensor.garageport + to: "on" - platform: time at: "21:00:00" condition: - condition: state - entity_id: cover.anne - state: "open" + entity_id: binary_sensor.garageport + state: "on" action: - delay: "00:05:00" @@ -21,8 +21,8 @@ - repeat: while: - condition: state - entity_id: cover.anne - state: "open" + entity_id: binary_sensor.garageport + state: "on" sequence: @@ -51,8 +51,8 @@ action: IGNORE_GARAGE_ANNE - platform: state - entity_id: cover.anne - to: "closed" + entity_id: binary_sensor.garageport + to: "off" timeout: "00:30:00" diff --git a/include/automations/lys_garage.yaml b/include/automations/lys_garage.yaml index dd24427..e995ab5 100644 --- a/include/automations/lys_garage.yaml +++ b/include/automations/lys_garage.yaml @@ -26,8 +26,8 @@ - alias: 'Lys Garage - tænd hvis garage åbner' trigger: platform: state - entity_id: cover.anne - to: 'open' + entity_id: binary_sensor.garageport + to: 'on' action: - service: scene.turn_on data: @@ -36,8 +36,8 @@ - alias: 'Sluk lys garage 5 min efter lukning' trigger: platform: state - entity_id: cover.anne - to: 'closed' + entity_id: binary_sensor.garageport + to: 'off' for: minutes: 5 action: diff --git a/include/automations/open_garage_when_car_arrives.yaml b/include/automations/open_garage_when_car_arrives.yaml index 897a38b..7040807 100644 --- a/include/automations/open_garage_when_car_arrives.yaml +++ b/include/automations/open_garage_when_car_arrives.yaml @@ -26,8 +26,8 @@ id: arriving - condition: state - entity_id: cover.anne - state: "closed" + entity_id: binary_sensor.garageport + state: "off" - condition: template value_template: > @@ -48,8 +48,8 @@ id: leaving - condition: state - entity_id: cover.anne - state: "open" + entity_id: binary_sensor.garageport + state: "on" - condition: template value_template: >