Switch to calendar events for daily
This commit is contained in:
parent
ce2c151ae9
commit
64d65c9158
@ -79,16 +79,10 @@
|
|||||||
- id: work_daily_minus_30m
|
- id: work_daily_minus_30m
|
||||||
alias: '[Work] Daily -30m'
|
alias: '[Work] Daily -30m'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: calendar
|
||||||
at: '10:30'
|
event: start
|
||||||
condition:
|
offset: '-0:30:0'
|
||||||
- condition: time
|
entity_id: calendar.automations_daily
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
@ -103,13 +97,10 @@
|
|||||||
- platform: time
|
- platform: time
|
||||||
at: '10:45'
|
at: '10:45'
|
||||||
condition:
|
condition:
|
||||||
- condition: time
|
- platform: calendar
|
||||||
weekday:
|
event: start
|
||||||
- mon
|
offset: '-0:15:0'
|
||||||
- tue
|
entity_id: calendar.automations_daily
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
@ -121,16 +112,10 @@
|
|||||||
- id: work_daily_minus_5m
|
- id: work_daily_minus_5m
|
||||||
alias: '[Work] Daily -5m'
|
alias: '[Work] Daily -5m'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: calendar
|
||||||
at: '10:55'
|
event: start
|
||||||
condition:
|
offset: '-0:5:0'
|
||||||
- condition: time
|
entity_id: calendar.automations_daily
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
@ -141,8 +126,9 @@
|
|||||||
- id: work_daily_start
|
- id: work_daily_start
|
||||||
alias: '[Work] Daily'
|
alias: '[Work] Daily'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: calendar
|
||||||
at: '11:00'
|
event: start
|
||||||
|
entity_id: calendar.automations_daily
|
||||||
condition:
|
condition:
|
||||||
- condition: time
|
- condition: time
|
||||||
weekday:
|
weekday:
|
||||||
@ -161,8 +147,9 @@
|
|||||||
- id: work_dailY_end
|
- id: work_dailY_end
|
||||||
alias: '[Work] Daily end'
|
alias: '[Work] Daily end'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: calendar
|
||||||
at: '11:30'
|
event: end
|
||||||
|
entity_id: calendar.automations_daily
|
||||||
condition:
|
condition:
|
||||||
- condition: time
|
- condition: time
|
||||||
weekday:
|
weekday:
|
||||||
|
@ -275,6 +275,9 @@ calendar:
|
|||||||
- name: "Wakeup"
|
- name: "Wakeup"
|
||||||
calendar: "Automations"
|
calendar: "Automations"
|
||||||
search: "Wakeup"
|
search: "Wakeup"
|
||||||
|
- name: "Daily"
|
||||||
|
calendar: "Automations"
|
||||||
|
search: "Daily"
|
||||||
- platform: caldav
|
- platform: caldav
|
||||||
url: https://cloud.grondek.pl/remote.php/dav
|
url: https://cloud.grondek.pl/remote.php/dav
|
||||||
username: pgrondek
|
username: pgrondek
|
||||||
|
Loading…
Reference in New Issue
Block a user