First attempt at work schedule sensor for wife
This commit is contained in:
@ -121,6 +121,14 @@ calendar:
|
|||||||
username: !secret userIcloud
|
username: !secret userIcloud
|
||||||
password: !secret passIcloud
|
password: !secret passIcloud
|
||||||
url: https://caldav.icloud.com
|
url: https://caldav.icloud.com
|
||||||
|
- platform: caldav
|
||||||
|
username: !secret userIcloud
|
||||||
|
password: !secret passIcloud
|
||||||
|
url: https://caldav.icloud.com
|
||||||
|
custom_calendars:
|
||||||
|
- name: "TinaWork"
|
||||||
|
calendar: "Family"
|
||||||
|
search: "Work"
|
||||||
- platform: todoist
|
- platform: todoist
|
||||||
token: !secret todoist_api_token
|
token: !secret todoist_api_token
|
||||||
custom_projects:
|
custom_projects:
|
||||||
|
@ -6,4 +6,7 @@ binary_sensor:
|
|||||||
- name: School Time
|
- name: School Time
|
||||||
state: >
|
state: >
|
||||||
{{ is_state('binary_sensor.school', 'on')
|
{{ is_state('binary_sensor.school', 'on')
|
||||||
and is_state('binary_sensor.workday_sensor', 'on') }}
|
and is_state('binary_sensor.workday_sensor', 'on') }}
|
||||||
|
- name: Tina Work
|
||||||
|
state: >
|
||||||
|
{{ is_state('calendar.family_tinawork', 'on') }}
|
Reference in New Issue
Block a user