First attempt at work schedule sensor for wife

This commit is contained in:
2022-04-03 18:33:48 -04:00
parent bf5a5a858a
commit 3df7005629
2 changed files with 12 additions and 1 deletions

View File

@ -121,6 +121,14 @@ calendar:
username: !secret userIcloud
password: !secret passIcloud
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
token: !secret todoist_api_token
custom_projects:

View File

@ -6,4 +6,7 @@ binary_sensor:
- name: School Time
state: >
{{ 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') }}