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'
|
before: '22:00:00'
|
||||||
action:
|
action:
|
||||||
service: light.turn_off
|
service: light.turn_off
|
||||||
data:
|
target:
|
||||||
entity_id: light.gang_2
|
entity_id: light.gang
|
||||||
|
|
||||||
########## NIGHT
|
########## NIGHT
|
||||||
|
|
||||||
@@ -124,8 +124,8 @@
|
|||||||
before: '06:30:00'
|
before: '06:30:00'
|
||||||
action:
|
action:
|
||||||
service: light.turn_off
|
service: light.turn_off
|
||||||
data:
|
target:
|
||||||
entity_id: light.gang_2
|
entity_id: light.gang
|
||||||
|
|
||||||
- alias: 'Lys i gang - ikke arbejdsdag - nat'
|
- alias: 'Lys i gang - ikke arbejdsdag - nat'
|
||||||
trigger:
|
trigger:
|
||||||
@@ -166,6 +166,6 @@
|
|||||||
before: '08:00:00'
|
before: '08:00:00'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
target:
|
||||||
entity_id: light.gang_2
|
entity_id: light.gang
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user