HazardDede / home-assistant-ferienapidotde

Home assistant binary sensor component to indicate if today is a german vacational day or not
MIT License
5 stars 2 forks source link

Info for next day #3

Closed tombrain closed 2 years ago

tombrain commented 3 years ago

Is it possible to get information for the following day?

HazardDede commented 3 years ago

Unfortunately not. The underlying ferien-api supports to pass a datetime-object to override datetime.now, but so far this component does not use it.

f-zappa commented 2 years ago

I have an automation which tells my children when it's time to turn off the light in the evening but until now it only includes workdays. Would be great to also respect school holidays, but this would also mean to get information for the next day. My suggestion would be to use the same "days_offset" parameter like in the workday integration. Would it be much effort to integrate this?

daemonenstall commented 2 years ago

I have the same "problem" as @f-zappa Would be great to have the option "days_offset".