2021-09-22 20:55:51 +00:00
|
|
|
- id: daily-warning-bathroom
|
|
|
|
alias: '[Work] Daily Warning'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
2021-12-06 23:07:47 +00:00
|
|
|
at: '9:30'
|
2021-09-22 20:55:51 +00:00
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
brightness_pct: 100
|
2021-12-06 23:07:47 +00:00
|
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
2021-09-22 20:55:51 +00:00
|
|
|
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
|
2021-10-05 21:53:19 +00:00
|
|
|
- delay:
|
|
|
|
seconds: 900
|
2021-09-22 20:55:51 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
brightness_pct: 100
|
|
|
|
hs_color:
|
|
|
|
- 360
|
|
|
|
- 100
|
2021-09-28 22:52:38 +00:00
|
|
|
transition: 600
|
|
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
2021-10-05 21:53:19 +00:00
|
|
|
- delay:
|
|
|
|
seconds: 600
|
2021-09-28 22:52:38 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
brightness_pct: 100
|
|
|
|
hs_color:
|
|
|
|
- 285
|
|
|
|
- 100
|
2021-09-22 20:55:51 +00:00
|
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
|
|
- delay:
|
2021-09-28 22:52:38 +00:00
|
|
|
minutes: 5
|
2021-09-22 20:55:51 +00:00
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: light.bathroom_color_zha_group_0x0007
|
|
|
|
mode: single
|
|
|
|
|
2020-11-04 00:56:36 +00:00
|
|
|
- id: daily_off
|
2021-01-23 18:32:51 +00:00
|
|
|
alias: '[Work] Daily notification off'
|
2020-11-04 00:56:36 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
2021-12-06 23:07:47 +00:00
|
|
|
at: '10:10'
|
2020-11-12 02:34:34 +00:00
|
|
|
condition:
|
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:
|
2020-11-12 02:34:34 +00:00
|
|
|
- service: light.turn_off
|
2021-07-06 21:55:15 +00:00
|
|
|
entity_id: light.desk_lightbar_ambilight
|
2021-06-15 07:32:51 +00:00
|
|
|
mode: single
|
2020-11-16 00:19:53 +00:00
|
|
|
|
2021-06-15 07:32:51 +00:00
|
|
|
- id: work_finished
|
|
|
|
alias: '[Work] Notify when finished work'
|
|
|
|
trigger:
|
2021-12-06 23:07:47 +00:00
|
|
|
- platform: state
|
|
|
|
entity_id: device_tracker.amdn4684
|
|
|
|
for:
|
|
|
|
hours: 8
|
|
|
|
to: home
|
2021-06-15 07:32:51 +00:00
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
2021-10-24 18:58:06 +00:00
|
|
|
- service: script.vacuum_today
|
2021-06-15 07:32:51 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
2021-07-06 21:55:15 +00:00
|
|
|
brightness_pct: 100
|
2021-06-15 07:32:51 +00:00
|
|
|
rgb_color:
|
|
|
|
- 0
|
|
|
|
- 200
|
|
|
|
- 83
|
2022-04-19 22:14:08 +00:00
|
|
|
entity_id: light.office_light_up
|
2021-06-15 07:32:51 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
flash: long
|
2021-07-06 21:55:15 +00:00
|
|
|
brightness_pct: 100
|
2021-06-15 07:32:51 +00:00
|
|
|
rgb_color:
|
|
|
|
- 0
|
|
|
|
- 200
|
|
|
|
- 83
|
2022-04-19 22:14:08 +00:00
|
|
|
entity_id: light.office_light_up
|
2021-07-06 21:55:15 +00:00
|
|
|
- delay:
|
|
|
|
minutes: 5
|
|
|
|
- service: light.turn_off
|
2022-04-19 22:14:08 +00:00
|
|
|
entity_id: light.office_light_up
|
2020-11-04 00:56:36 +00:00
|
|
|
mode: single
|
2021-06-15 07:32:51 +00:00
|
|
|
|