Create a sensor for holidays/workdays

Please see the sticky post on how to correctly format code (point 11).

That aside, what do you mean by connect this sensor to input.date entity but non success?