Python_script for countdown to birthdays/anniversaries/significant dates

… still some left. I think we need to quote the ‘birthday’ because it errors out on not defined otherwise.

friendly_name = "{}'s {}".format(name, eventtype) if eventtype=='birthday' else "{} {}".format(name, eventtype)

more importantly:

Fri Nov 22 2019 16:22:05 GMT+0100 (CET)

Error executing script: '__import__'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/python_script/__init__.py", line 195, in execute
    exec(compiled.code, restricted_globals, local)
  File "event_date.py", line 24, in <module>
KeyError: '__import__'

the ever present import issues in the HA Python sandbox. Line 24 is

    "nextoccur" : event.strftime(fmat),