1
0

New lights automations

This commit is contained in:
pgrondek 2020-11-08 23:55:19 +01:00
parent 99b9a39ca9
commit 5d8852efaa
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,18 @@
- id: computer_off
alias: Turning computer off automation
description: ''
trigger:
- platform: state
entity_id: binary_sensor.desktop
to: 'off'
for:
minutes: 5
condition: []
action:
- service: light.turn_off
data: {}
entity_id:
- light.computer_left
- light.computer_right
- light.desk_lamp
mode: single

View File

@ -13,7 +13,9 @@
- 0 - 0
- 0 - 0
- 255 - 255
entity_id: light.desk_lamp entity_id:
- light.computer_left
- light.computer_right
mode: single mode: single
- id: daily_off - id: daily_off
@ -26,5 +28,7 @@
- service: light.turn_on - service: light.turn_on
data: data:
kelvin: 3200 kelvin: 3200
entity_id: light.desk_lamp entity_id:
- light.computer_left
- light.computer_right
mode: single mode: single