Fix gang sluk-automationer: brug light.gang gruppe i stedet for light.gang_2 + tilføj docker-compose.yml

This commit is contained in:
2026-04-15 19:18:59 +02:00
parent 521b2c1bdd
commit 18d3293953
2 changed files with 18 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
services:
home-assistant:
container_name: homeassistant
image: homeassistant/home-assistant:latest
volumes:
- /volume1/homeassistant:/config
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
network_mode: host
restart: always
environment:
- TZ=Europe/Copenhagen
+6 -6
View File
@@ -81,8 +81,8 @@
before: '22:00:00'
action:
service: light.turn_off
data:
entity_id: light.gang_2
target:
entity_id: light.gang
########## NIGHT
@@ -124,8 +124,8 @@
before: '06:30:00'
action:
service: light.turn_off
data:
entity_id: light.gang_2
target:
entity_id: light.gang
- alias: 'Lys i gang - ikke arbejdsdag - nat'
trigger:
@@ -166,6 +166,6 @@
before: '08:00:00'
action:
- service: light.turn_off
data:
entity_id: light.gang_2
target:
entity_id: light.gang