Indkørsel: erstat Hue plug med Zigbee stik_indkorsel

- grupper.yaml: fjern light.indkorsel_plug fra Indkørsel og Udendørslamper grupper
- lysindkorsel.yaml: tilføj switch.stik_indkorsel turn_on/off ved alle 6 handlinger
- presence_simulation.yaml: tilføj switch.stik_indkorsel i morgen/aften sekvenser
- andreas_kommer_hjem: tilføj switch.stik_indkorsel turn_on/off
This commit is contained in:
2026-05-17 11:14:38 +02:00
parent 8b2ff535de
commit d0e3a6c3e5
4 changed files with 45 additions and 5 deletions
@@ -48,9 +48,17 @@
target:
entity_id: "{{ lights_to_turn_on }}"
- service: switch.turn_on
data:
entity_id: switch.stik_indkorsel
- delay: "00:10:00"
- service: light.turn_off
target:
entity_id: "{{ lights_to_turn_on }}"
- service: switch.turn_off
data:
entity_id: switch.stik_indkorsel
+21 -3
View File
@@ -16,6 +16,9 @@
- service: scene.turn_on
data:
entity_id: scene.indkorsel_bright
- service: switch.turn_on
data:
entity_id: switch.stik_indkorsel
- alias: 'Sluk lys indkørsel når der er lys nok'
trigger:
@@ -30,6 +33,9 @@
- service: light.turn_off
data:
entity_id: light.indkorsel_2
- service: switch.turn_off
data:
entity_id: switch.stik_indkorsel
- alias: 'Tænd lys indkørsel aften'
trigger:
@@ -43,6 +49,9 @@
- service: scene.turn_on
data:
entity_id: scene.indkorsel_bright
- service: switch.turn_on
data:
entity_id: switch.stik_indkorsel
- alias: 'Sluk lys indkørsel aften'
trigger:
@@ -52,6 +61,9 @@
- service: light.turn_off
data:
entity_id: light.indkorsel_2
- service: switch.turn_off
data:
entity_id: switch.stik_indkorsel
- alias: 'Tænd lys indkørsel ved bevægelse'
@@ -78,6 +90,9 @@
- service: scene.turn_on
data:
entity_id: scene.indkorsel_bright
- service: switch.turn_on
data:
entity_id: switch.stik_indkorsel
- alias: 'Sluk lys indkørsel 15 min efter bevægelse'
trigger:
@@ -97,8 +112,11 @@
# entity_id: sun.sun
# state: below_horizon
action:
service: light.turn_off
data:
entity_id: light.indkorsel_2
- service: light.turn_off
data:
entity_id: light.indkorsel_2
- service: switch.turn_off
data:
entity_id: switch.stik_indkorsel
@@ -54,6 +54,10 @@
- delay:
seconds: "{{ range(30,180) | random }}"
- service: switch.turn_on
data:
entity_id: switch.stik_indkorsel
- delay:
minutes: "{{ range(10,30) | random }}"
@@ -66,6 +70,10 @@
- delay:
seconds: "{{ range(20,120) | random }}"
- service: switch.turn_off
data:
entity_id: switch.stik_indkorsel
- choose:
- conditions:
- condition: template
@@ -146,6 +154,10 @@
- delay:
seconds: "{{ range(20,120) | random }}"
- service: switch.turn_on
data:
entity_id: switch.stik_indkorsel
- delay:
minutes: "{{ range(15,60) | random }}"
@@ -158,6 +170,10 @@
- delay:
seconds: "{{ range(20,120) | random }}"
- service: switch.turn_off
data:
entity_id: switch.stik_indkorsel
- choose:
- conditions:
- condition: template