1
0
ansible-home-assistant/automations/files/daily.yaml

71 lines
1.3 KiB
YAML
Raw Normal View History

2020-11-04 00:56:36 +00:00
- id: daily
alias: Daily notificaion
trigger:
- platform: time
at: '10:55'
2020-11-16 00:19:53 +00:00
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
2020-11-04 00:56:36 +00:00
action:
- service: light.turn_on
data:
brightness: 200
rgb_color:
- 0
- 0
- 255
entity_id:
- light.computer_left
- light.computer_right
2020-11-04 00:56:36 +00:00
- service: light.turn_on
data:
flash: long
brightness: 200
2020-11-04 00:56:36 +00:00
rgb_color:
- 0
- 0
- 255
2020-11-08 22:55:19 +00:00
entity_id:
- light.computer_left
- light.computer_right
2020-11-04 00:56:36 +00:00
mode: single
- id: daily_off
alias: Daily notificaion off
trigger:
- platform: time
at: '11:25'
condition:
- condition: state
entity_id: light.computer_left
state: 'on'
- condition: state
entity_id: light.computer_right
state: 'on'
2020-11-16 00:19:53 +00:00
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
2020-11-04 00:56:36 +00:00
action:
- service: light.turn_on
data:
kelvin: 3200
2020-11-08 22:55:19 +00:00
entity_id:
- light.computer_left
- light.computer_right
- delay: 5
- service: light.turn_off
entity_id:
- light.computer_left
- light.computer_right
2020-11-16 00:19:53 +00:00
2020-11-04 00:56:36 +00:00
mode: single