A python script for Homeassistant that counts down the days to birthdays
Date Countdown
A python script for Homeassistant that counts down the days to birthdays, anniversaries etc
Important note
I no longer use homeassistant so if this script stops being compatible with homeassistant that will be the end of the line. That said, it hasn’t needed any maintenence in over a year and was working well so it will probably be fine to use for a long while yet.
How it works
This script creates a sensor that a counts down to the next occurrence of a date, like a birthday or anniversary and gives the number of years as an attribute.
You can optionally reverse the counter so it counts up from the last occurrence of a date, such as when you quit smoking.
Requires python_script:
to