Hi, I’m trying to create a sensor indicating if a given date is considered workday or holiday.
I would like to do this for two differen contries, Italy and US.
I created two binary sensors for both countries as below
…
2021-12-24
remove_holidays:
…
I tried many ways to connect this sensor to input.date entity but non success. Anyone who has the same need or already accomplished this task?
Thank you for your help
Hi, basically what i want is an “input field” where to set a given date and a sensor that tells me if that date is a holiday or not (would be nice for two countries at the same time but I do not think is feasible).
I do have a sensor for for workadays but I DID NOT FIND how to relate this sensor to the input field.
As shown in the pictures I want to input a date in the input date field and get from the sensor if that date is a workday or not.
Hi, thank you for the hint; I’ll check if suitable for me. Actually what I’m trying to do is a calendar for the stock markets where opening and closing days vary year over year (easter, thanksgiving, etc.). Using the workday platform would automatically update most of them leaving just a few to be entered manually.