home-assistant-configuration/config/binary_sensors/calendar.yaml

50 lines
708 B
YAML
Executable File

#
#
# Workday Sensor
- platform: workday
country: US
province: GA
workdays: [mon, tue, wed, thu, fri]
- platform: workday
name: jeff_workday
country: US
province: GA
workdays: [mon, tue, wed, thu, fri]
# Times Of Day
- platform: tod
name: Night
after: sunset
before: sunrise
- platform: tod
name: Day
after: sunrise
before: sunset
- platform: tod
name: Quiet time
after: '21:00'
before: '06:00'
- platform: tod
name: Morning
after: '06:00'
before: '08:30'
- platform: tod
name: Midday
after: '08:30'
before: '17:00'
- platform: tod
name: Evening
after: '17:00'
before: '21:00'
- platform: tod
name: Overnight
after: '18:00'
before: '06:00'