Support date ranges in workday sensor

This would help using the sensor to monitor school holidays. Even better if we also got an attribute we can populate with the name of the school holiday.

I just started using an instance of the workday integration to identify school days for the kids and the lack of a date range features makes it somewhat useless for Christmas and summer holidays.

You could conceivably create a custom implementation of this with a template switch (or something) that would enable itself if the date was within a certain range (say Christmas or summer holidays) but then you’re kind of re-inventing the wheel or having to combine it with the workday sensor in automation, etc that rely on that information.

The new UI interface for workday makes it especially painful to set days, for example, that kids are off on summer vacation, as you have to set one by one. I have a sensor for today and tomorrow so now I have to set both manually by typing in each date… ugh. Date ranges would be a great feature enhancement.

4 Likes

I agree with @aruffell, I’m trying to add three weeks of holidays and it’s a pain. I can’t even use copy/paste like I did in the yaml file.
It should also check if the date is valid. I accidentally added a date like 2023-07008 (instead of 2023-07-08).

2 Likes