adding new files

This commit is contained in:
2023-12-19 15:47:05 +01:00
parent 9663410354
commit 2a45576a80
3 changed files with 149 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
###################################
## Turn on terasse light
#
#
###################################
- alias: 'Lys terasse, aften'
trigger:
platform: numeric_state
entity_id: sensor.indkorsel_sensor_illuminance
below: 90
for:
minutes: 3
# - platform: sun
# event: sunset
# offset: "00:10:00"
condition:
- condition: time
after: '15:00:00'
before: '23:00:00'
action:
- service: light.turn_on
entity_id:
- light.terasse
- alias: 'Sluk lys terasse aften'
trigger:
platform: time
at: "23:00:00"
action:
- service: light.turn_off
data:
entity_id: light.terasse