Erstat cover.anne sensor med binary_sensor.garageport (ThirdReality)
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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: >
|
||||
|
||||
Reference in New Issue
Block a user