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

28 lines
482 B
YAML
Executable File

- platform: workday
country: US
province: GA
workdays: [mon, tue, wed, thu, fri]
- 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'