Fix gang sluk-automationer: brug light.gang gruppe i stedet for light.gang_2 + tilføj docker-compose.yml
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user