c5b230aa50
add couch lamp fix daily automation add finished work automation
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
- id: daily
|
|
alias: Daily notificaion
|
|
trigger:
|
|
- platform: time
|
|
at: '10:55'
|
|
condition: []
|
|
action:
|
|
- service: light.turn_on
|
|
data:
|
|
brightness: 200
|
|
rgb_color:
|
|
- 0
|
|
- 0
|
|
- 255
|
|
entity_id:
|
|
- light.computer_left
|
|
- light.computer_right
|
|
- service: light.turn_on
|
|
data:
|
|
flash: long
|
|
brightness: 200
|
|
rgb_color:
|
|
- 0
|
|
- 0
|
|
- 255
|
|
entity_id:
|
|
- light.computer_left
|
|
- light.computer_right
|
|
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'
|
|
action:
|
|
- service: light.turn_on
|
|
data:
|
|
kelvin: 3200
|
|
entity_id:
|
|
- light.computer_left
|
|
- light.computer_right
|
|
- delay: 5
|
|
- service: light.turn_off
|
|
entity_id:
|
|
- light.computer_left
|
|
- light.computer_right
|
|
mode: single
|