144 lines
2.9 KiB
YAML
144 lines
2.9 KiB
YAML
- id: daily-warning-bathroom
|
|
alias: '[Work] Daily Warning'
|
|
trigger:
|
|
- platform: time
|
|
at: '8:30'
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
action:
|
|
- service: light.turn_on
|
|
data:
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- 120
|
|
- 100
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
- service: light.turn_on
|
|
data:
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- 30
|
|
- 100
|
|
transition: 900
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
- delay:
|
|
seconds: 900
|
|
- service: light.turn_on
|
|
data:
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- 360
|
|
- 100
|
|
transition: 600
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
- delay:
|
|
seconds: 600
|
|
- service: light.turn_on
|
|
data:
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- 285
|
|
- 100
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
- delay:
|
|
minutes: 5
|
|
- service: light.turn_off
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
mode: single
|
|
|
|
- id: daily
|
|
alias: '[Work] Daily notification'
|
|
trigger:
|
|
- platform: time
|
|
at: '8:55'
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
action:
|
|
- service: light.turn_on
|
|
data:
|
|
brightness_pct: 100
|
|
rgb_color:
|
|
- 0
|
|
- 0
|
|
- 255
|
|
entity_id: light.desk_lightbar_ambilight
|
|
- service: light.turn_on
|
|
data:
|
|
flash: long
|
|
brightness_pct: 100
|
|
rgb_color:
|
|
- 0
|
|
- 0
|
|
- 255
|
|
entity_id: light.desk_lightbar_ambilight
|
|
mode: single
|
|
|
|
- id: daily_off
|
|
alias: '[Work] Daily notification off'
|
|
trigger:
|
|
- platform: time
|
|
at: '9:10'
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
action:
|
|
- service: light.turn_off
|
|
entity_id: light.desk_lightbar_ambilight
|
|
mode: single
|
|
|
|
- id: work_finished
|
|
alias: '[Work] Notify when finished work'
|
|
trigger:
|
|
- platform: time
|
|
at: '17:00'
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
action:
|
|
- service: script.vacuum_daily
|
|
- service: light.turn_on
|
|
data:
|
|
brightness_pct: 100
|
|
rgb_color:
|
|
- 0
|
|
- 200
|
|
- 83
|
|
entity_id: light.desk_lightbar_ambilight
|
|
- service: light.turn_on
|
|
data:
|
|
flash: long
|
|
brightness_pct: 100
|
|
rgb_color:
|
|
- 0
|
|
- 200
|
|
- 83
|
|
entity_id: light.desk_lightbar_ambilight
|
|
- delay:
|
|
minutes: 5
|
|
- service: light.turn_off
|
|
entity_id: light.desk_lightbar_ambilight
|
|
mode: single
|
|
|