adding new files
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
- alias: 'Lys Garage'
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.garage_sensor_motion
|
||||
to: 'on'
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.garage_bright
|
||||
|
||||
|
||||
- alias: 'Sluk lys i garage'
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.garage_sensor_motion
|
||||
to: 'off'
|
||||
for:
|
||||
minutes: 5
|
||||
action:
|
||||
- service: homeassistant.turn_off
|
||||
data:
|
||||
entity_id:
|
||||
- light.garage
|
||||
|
||||
|
||||
- alias: 'Lys Garage - tænd hvis garage åbner'
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: cover.anne
|
||||
to: 'open'
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.garage_bright
|
||||
|
||||
- alias: 'Sluk lys garage 5 min efter lukning'
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: cover.anne
|
||||
to: 'closed'
|
||||
for:
|
||||
minutes: 5
|
||||
action:
|
||||
service: light.turn_off
|
||||
data:
|
||||
entity_id: light.garage
|
||||
|
||||
Reference in New Issue
Block a user