I would like to find out if tomorrow is a workday or not from my AppDaemon app, so I installed the workday binary sensor to HA and I can now do:
is_today_workday = True if self.get_state("binary_sensor.workday_sensor") == "on" else False
I also want to know if tomorrow is a workday and on the workday binary sensor page there is a section about a service that seems to be able to check an arbitrary date.
The problem is that I can’t figure out how to call this service, if I call self.list_services() it says nothing about any workday service…
But for now, I have created some additional entities, binary_sensor.workday_tomorrow_sensor and binary_sensor.workday_day_after_tomorrow_sensor with “Days offset” set to 1 and 2 respectively.