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
|
show_state: true
|
||||||
|
|
||||||
- type: tile
|
- type: tile
|
||||||
entity: cover.anne
|
entity: binary_sensor.garageport
|
||||||
name: Garage
|
name: Garage
|
||||||
icon: mdi:garage
|
icon: mdi:garage
|
||||||
features_position: bottom
|
features_position: bottom
|
||||||
vertical: false
|
vertical: false
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: call-service
|
||||||
|
service: cover.toggle
|
||||||
|
target:
|
||||||
|
entity_id: cover.anne
|
||||||
show_state: true
|
show_state: true
|
||||||
|
|
||||||
# 🎵 Sonos
|
# 🎵 Sonos
|
||||||
|
|||||||
@@ -4,16 +4,16 @@
|
|||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
to: "open"
|
to: "on"
|
||||||
|
|
||||||
- platform: time
|
- platform: time
|
||||||
at: "21:00:00"
|
at: "21:00:00"
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
state: "open"
|
state: "on"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- delay: "00:05:00"
|
- delay: "00:05:00"
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
- repeat:
|
- repeat:
|
||||||
while:
|
while:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
state: "open"
|
state: "on"
|
||||||
|
|
||||||
sequence:
|
sequence:
|
||||||
|
|
||||||
@@ -51,8 +51,8 @@
|
|||||||
action: IGNORE_GARAGE_ANNE
|
action: IGNORE_GARAGE_ANNE
|
||||||
|
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
to: "closed"
|
to: "off"
|
||||||
|
|
||||||
timeout: "00:30:00"
|
timeout: "00:30:00"
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
- alias: 'Lys Garage - tænd hvis garage åbner'
|
- alias: 'Lys Garage - tænd hvis garage åbner'
|
||||||
trigger:
|
trigger:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
to: 'open'
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
data:
|
data:
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
- alias: 'Sluk lys garage 5 min efter lukning'
|
- alias: 'Sluk lys garage 5 min efter lukning'
|
||||||
trigger:
|
trigger:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
to: 'closed'
|
to: 'off'
|
||||||
for:
|
for:
|
||||||
minutes: 5
|
minutes: 5
|
||||||
action:
|
action:
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
id: arriving
|
id: arriving
|
||||||
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
state: "closed"
|
state: "off"
|
||||||
|
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
@@ -48,8 +48,8 @@
|
|||||||
id: leaving
|
id: leaving
|
||||||
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: cover.anne
|
entity_id: binary_sensor.garageport
|
||||||
state: "open"
|
state: "on"
|
||||||
|
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
|
|||||||
Reference in New Issue
Block a user