Timezone not working in 85.1

Hi all,

I have just upgraded to 0.85.1 and timezone stoped working.

If I add the following line to configuration.yaml:
time_zone: Europe/Amsterdam

I get the following error:
2019-01-23 14:31:46 ERROR (MainThread) [homeassistant.config] Invalid config for [homeassistant]: Invalid time zone passed in. Valid options can be found here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones for dictionary value @ data[‘time_zone’]. Got ‘Europe/Amsterdam’. (See /home/homeassistant/.homeassistant/configuration.yaml, line 2).
2019-01-23 14:31:46 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/core.py”, line 1098, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: (ServiceNotFound(…), ‘Service persistent_notification.create not found’)

And Homeassistant does not boot!

When I leave it out Homeassistant boots with other errors:

2019-01-23 14:33:14 WARNING (MainThread) [homeassistant.config] Incomplete core configuration. Auto detected time_zone: None
2019-01-23 14:33:17 ERROR (MainThread) [homeassistant.setup] Error during setup of component sun
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    hass, processed_config)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sun.py", line 46, in async_setup
    sun = Sun(hass, get_astral_location(hass))
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/sun.py", line 34, in get_astral_location
    hass.data[DATA_LOCATION_CACHE][info] = Location(info)
  File "/srv/homeassistant/lib/python3.6/site-packages/astral.py", line 571, in __init__
    self.timezone = info[4]
  File "/srv/homeassistant/lib/python3.6/site-packages/astral.py", line 679, in timezone
    raise ValueError("Timezone '%s' not recognized" % name)
ValueError: Timezone 'None' not recognized
2019-01-23 14:33:25 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback SerialTransport._read_ready()
Traceback (most recent call last):
  File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
    self._callback(*self._args)
  File "/srv/homeassistant/lib/python3.6/site-packages/serial_asyncio/__init__.py", line 106, in _read_ready
    self._protocol.data_received(data)
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/clients/protocol.py", line 88, in data_received
    self.handle_telegram(telegram)
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/clients/protocol.py", line 103, in handle_telegram
    parsed_telegram = self.telegram_parser.parse(telegram)
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/parsers.py", line 57, in parse
    telegram[signature] = parser.parse(match.group(0))
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/parsers.py", line 160, in parse
    return CosemObject(self._parse(line))
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/parsers.py", line 115, in _parse
    for i, value in enumerate(values)]
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/parsers.py", line 115, in <listcomp>
    for i, value in enumerate(values)]
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/parsers.py", line 212, in parse
    value = self.coerce_type(value) if value is not None else value
  File "/srv/homeassistant/lib/python3.6/site-packages/dsmr_parser/value_types.py", line 15, in timestamp
    local_tz = pytz.timezone('Europe/Amsterdam')
  File "/srv/homeassistant/lib/python3.6/site-packages/pytz/__init__.py", line 178, in timezone
    raise UnknownTimeZoneError(zone)
pytz.exceptions.UnknownTimeZoneError: 'Europe/Amsterdam'

Any help is welcome

Hi all,

Trurns out to be an easy fix, i reinstalled pytz (pip install -I pytz) and those errors are gone now!