Traceback (most recent call last):


 "/Users/jim/Library/Python/3.6/lib/python/site-packages/keyring/backend.py", line 198, in _load_plugins

init_func = ep.load()


 "/Users/jim/Library/Python/3.6/lib/python/site-packages/importlib_metadata/api.py", line 67, in load

attrs = filter(None, match.group('attr').split('.'))
AttributeError: 'NoneType' object has no attribute 'split'

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform

await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)


 "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for

return fut.result()


 "/config/custom_components/alexa_media/sensor.py", line 128, in async_setup_entry

discovery_info=None)


 "/config/custom_components/alexa_media/helpers.py", line 111, in wrapper

result = await func(*args, **kwargs)


 "/config/custom_components/alexa_media/sensor.py", line 89, in async_setup_platform

account)


 "/config/custom_components/alexa_media/sensor.py", line 324, in __init__

'mdi:alarm')


 "/config/custom_components/alexa_media/sensor.py", line 165, in __init__

self._all = list(map(self._fix_alarm_date_time, self._all))


 "/config/custom_components/alexa_media/sensor.py", line 176, in _fix_alarm_date_time

value[1][self._sensor_property] = timezone.localize(naive_time)


 "/usr/local/lib/python3.7/site-packages/pytz/tzinfo.py", line 317, in localize

if dt.tzinfo is not None:
AttributeError: 'NoneType' object has no attribute 'tzinfo'
