Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 20, in _handle_async_response

await func(hass, connection, msg)


 "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 200, in websocket_device_automation_list_conditions

conditions = await _async_get_device_automations(hass, "condition", device_id)


 "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 120, in _async_get_device_automations

for entry_id in device.config_entries:
AttributeError: 'NoneType' object has no attribute 'config_entries'

Traceback (most recent call last):


 "keras_retinanet/bin/train.py", line 483, in <module>

main()


 "keras_retinanet/bin/train.py", line 442, in main

weights = backbone.download_imagenet()


 "keras_retinanet/bin/../../keras_retinanet/models/resnet.py", line 55, in download_imagenet

return keras.applications.imagenet_utils.get_file(
AttributeError: module 'keras.applications' has no attribute 'imagenet_utils'
