Sensor for Holidays

I tried to install this custom components in “custom_components/sensor” folder and after adding:

  • platform: isholiday
    name: free.tomorrow
    country: “US”
    days_ahead: 1

and I got this error when restarting:

  • Platform not found: sensor.isholiday

Any idea what I’m missing?

For some time there has been a workday binary sensor as component in home-assistant which you can use. You don’t have to define a custom component further. Look at https://home-assistant.io/components/binary_sensor.workday/.

1 Like

Ah… thank you! Yeah… I already used that sensor… but I was hoping to have a special sensor for holidays :slight_smile:
EDIT: after reading more about that workday sensor… I think I can use it for holidays as well… THANKS!

Is there a sensor to display how many days left for a birthday?

there is 2 I found quite interesting.

and