I’ve had a workday binary_sensor configured, but the add_holidays portion never seems to work.
For example, my binary_sensor config is:
- platform: workday
name: "Work Days"
country: US
workdays: [mon, tue, wed, thu, fri]
excludes: [sat, sun]
add_holidays:
- '2020-11-06'
However, binary_sensor.work_days is set to ‘on’ on 2020-11-06. I double-checked via developer tools that timezones and whatnot appear correct:
{{ now() }}
{{ now().tzinfo }}
{{ now().astimezone() }}
{{ now().astimezone().tzinfo }}
2020-11-06 07:53:00.002945-06:00
America/Chicago
2020-11-06 07:53:00.003782-06:00
CST
Am I just missing something obvious? Running HassOS 4.15 on an Intel NUC if that’s helpful.