Currently workday sensor supports workdays/holidays for most of the cases.
Unfortunately I havent found a way to add “extra” workdays to its list, either by date, or by name.
Not sure how it happens in other countries, but in my country sometimes they move a workday to weekends, so another time it can be “merged together” to have a longer weekend.
ie.: 2022-03-26 (Saturday) counts as a workday.
Is there any way to do it, or any plan to extend it? Or should it be asked on from holidays · PyPI instead?
Current implementation just “demotes” a holiday to a regular day, but can not “promote” a weekend to a weekday. (ofc you can put holidays to weekdays, but that doesnt solve anything)
kinda. you have a whitelist, and a blacklist.
on overlap, blacklist wins.
so if its both Monday and holiday, it will be non-workday.
but right now you can’t say its Saturday and extra-workday to make it a workday.
My point is with 02-26 is that’s a weekend, so config from above would consider it as non-workday, since it’s in the exclude list