2023-06-12 21:56:22 +00:00
|
|
|
- id: work_work_start_warning_bathroom
|
2023-05-11 20:02:41 +00:00
|
|
|
alias: '[Work] Work start warning'
|
2021-09-22 20:55:51 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
2023-05-25 22:42:52 +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
|
|
|
|
|
2023-08-27 21:50:04 +00:00
|
|
|
- id: work_start
|
|
|
|
alias: '[Work] Start'
|
2020-11-04 00:56:36 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
2023-05-25 22:42:52 +00:00
|
|
|
at: '10:00'
|
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:
|
2023-08-27 21:50:04 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
color_name: green
|
|
|
|
target:
|
|
|
|
entity_id: light.notification_cube_light
|
2021-06-15 07:32:51 +00:00
|
|
|
mode: single
|
2020-11-16 00:19:53 +00:00
|
|
|
|
2023-08-27 21:50:04 +00:00
|
|
|
- id: work_daily_minus_30m
|
2023-08-28 21:04:16 +00:00
|
|
|
alias: '[Work] Daily -30m'
|
2021-06-15 07:32:51 +00:00
|
|
|
trigger:
|
2023-08-27 21:50:04 +00:00
|
|
|
- platform: time
|
|
|
|
at: '10:30'
|
2021-06-15 07:32:51 +00:00
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
2023-08-27 21:50:04 +00:00
|
|
|
color_name: yellow
|
|
|
|
transition: 2
|
|
|
|
target:
|
|
|
|
entity_id: light.notification_cube_light
|
|
|
|
|
|
|
|
- id: work_daily_minus_15m
|
2023-08-28 21:04:16 +00:00
|
|
|
alias: '[Work] Daily -15m'
|
2023-08-27 21:50:04 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '10:45'
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
2021-06-15 07:32:51 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
2023-08-27 21:50:04 +00:00
|
|
|
color_name: orange
|
|
|
|
transition: 2
|
|
|
|
target:
|
|
|
|
entity_id: light.notification_cube_light
|
|
|
|
|
|
|
|
- id: work_daily_minus_5m
|
2023-08-28 21:04:16 +00:00
|
|
|
alias: '[Work] Daily -5m'
|
2023-08-27 21:50:04 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '10:55'
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
color_name: purple
|
|
|
|
target:
|
|
|
|
entity_id: light.notification_cube_light
|
|
|
|
|
|
|
|
- id: work_daily_start
|
|
|
|
alias: '[Work] Daily'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '11:00'
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
color_name: red
|
|
|
|
target:
|
|
|
|
entity_id: light.notification_cube_light
|
|
|
|
|
|
|
|
- id: work_dailY_end
|
|
|
|
alias: '[Work] Daily end'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
2023-08-28 21:04:16 +00:00
|
|
|
at: '11:30'
|
2023-08-27 21:50:04 +00:00
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
data:
|
|
|
|
color_name: green
|
|
|
|
target:
|
|
|
|
entity_id: light.notification_cube_light
|
|
|
|
mode: single
|
|
|
|
|
|
|
|
- id: work_end
|
|
|
|
alias: '[Work] End'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '18:00'
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
action:
|
|
|
|
- service: light.turn_off
|
|
|
|
target:
|
|
|
|
entity_id: light.notification_cube_light
|
|
|
|
mode: single
|
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: work_cool_down_home
|
2022-08-19 18:29:03 +00:00
|
|
|
alias: '[Work] Cool down home after leaving work'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: zone
|
|
|
|
entity_id: person.przemek
|
|
|
|
zone: zone.work
|
|
|
|
event: leave
|
|
|
|
condition:
|
|
|
|
- condition: or
|
|
|
|
conditions:
|
|
|
|
- condition: numeric_state
|
2023-07-09 20:26:06 +00:00
|
|
|
entity_id: sensor.office_sensor_temperature
|
2022-08-19 18:29:03 +00:00
|
|
|
above: "23"
|
|
|
|
action:
|
2022-08-29 22:45:41 +00:00
|
|
|
- service: script.ac_on
|
2022-08-19 18:29:03 +00:00
|
|
|
- service: climate.set_temperature
|
|
|
|
data:
|
2023-01-13 23:17:38 +00:00
|
|
|
temperature: 23
|
2022-08-19 18:29:03 +00:00
|
|
|
hvac_mode: cool
|
|
|
|
target:
|
|
|
|
entity_id: climate.ac
|