This commit is contained in:
2022-01-19 07:17:26 +01:00
parent 93dca5e8b4
commit 3be704e23c
18 changed files with 831 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
- alias: 'Lys ved garage'
trigger:
platform: state
entity_id: binary_sensor.indkorsel_sensor_motion
to: 'on'
condition:
- condition: time
before: '23:00:00'
# - condition: state
# entity_id: sun.sun
# state: below_horizon
action:
- service: homeassistant.turn_on
entity_id: light.drivhus
- alias: 'Sluk lys ved garage'
trigger:
platform: state
entity_id: binary_sensor.indkorsel_sensor_motion
to: 'off'
for:
minutes: 10
action:
service: homeassistant.turn_off
data:
entity_id: light.drivhus