This commit is contained in:
2026-03-15 15:41:22 +01:00
parent 380353c44e
commit 45166fa647
8 changed files with 25 additions and 64 deletions
+10 -10
View File
@@ -11,7 +11,7 @@
entity_id: sensor.gang_sensor_illuminance
below: '70'
- condition: time
before: '20:00:00'
before: '21:30:00'
- condition: time
after: '06:30:00'
action:
@@ -27,7 +27,7 @@
entity_id: binary_sensor.gang_sensor_motion
to: 'off'
for:
minutes: 2
minutes: 3
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
@@ -35,7 +35,7 @@
- condition: time
after: '06:30:10'
- condition: time
before: '20:00:00'
before: '21:30:00'
action:
service: light.turn_off
data:
@@ -56,7 +56,7 @@
- condition: time
after: '08:00:00'
- condition: time
before: '20:30:00'
before: '22:00:00'
action:
- service: scene.turn_on
data:
@@ -70,7 +70,7 @@
entity_id: binary_sensor.gang_sensor_motion
to: 'off'
for:
minutes: 2
minutes: 3
condition:
- condition: state
entity_id: binary_sensor.arbejdsdag
@@ -78,7 +78,7 @@
- condition: time
after: '08:00:10'
- condition: time
before: '20:30:00'
before: '22:00:00'
action:
service: light.turn_off
data:
@@ -100,7 +100,7 @@
below: '70'
- condition: time
before: '06:30:00'
after: '20:00:00'
after: '21:30:00'
action:
- service: scene.turn_on
data:
@@ -120,7 +120,7 @@
entity_id: binary_sensor.arbejdsdag
state: 'on'
- condition: time
after: '20:00:10'
after: '21:30:10'
before: '06:30:00'
action:
service: light.turn_off
@@ -140,7 +140,7 @@
# entity_id: sensor.gang_sensor_light_level
# below: '70'
- condition: time
after: '20:30:00'
after: '22:00:00'
before: '08:00:00'
action:
- service: scene.turn_on
@@ -162,7 +162,7 @@
entity_id: binary_sensor.arbejdsdag
state: 'off'
- condition: time
after: '20:30:10'
after: '22:00:10'
before: '08:00:00'
action:
- service: light.turn_off