Move config out of subfolder

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent addfa33f6f
commit 1ae0c6d0b8
221 changed files with 0 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
automation:
- alias: Lighting · Turn on ceiling lights after sunset
trigger:
platform: sun
event: sunset
offset: "-00:30:00"
condition:
- condition: state
entity_id: binary_sensor.someone_home
state: "on"
action:
- service: light.turn_on
entity_id: light.on_after_dark
data:
brightness_pct: 100
- service: logbook.log
data:
name: "💡 Lighting Module · "
message: "Lights On · 30 mins to sunset"
domain: light
- alias: Lighting · Turn off all lights after sunrise
trigger:
platform: sun
event: sunrise
offset: "+00:00:00"
action:
- service: light.turn_off
entity_id: light.all