Yesterday I bought an Ikea TRÅDFRI Wireless control outlet to be able to pair with Home Assistant so I could use it to turn my Christmas tree lights on/off. I run HA in a docker container on unRAID, and it was running version 0.102.3 and I upgraded this afternoon to 0.103.0. I have a HUSBZB-1 connected to the server which I pass through to the docker container without any issues. I have other Ikea TRÅDFRI lights that are connected to HA without any issues. They were however paired to HA in a previous version. When I plugged the outlet in and hit the reset/pair button on it, I checked HA to see if it would show up. I did not see a new device showing under the integration, but I do see this in the logs:
2019-12-15 14:43:54 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.23387683242960] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 215, in websocket_device_automation_list_triggers
triggers = await _async_get_device_automations(hass, "trigger", device_id)
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 134, in _async_get_device_automations
for domain in domains
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 108, in _async_get_device_automations_from_domain
return await getattr(platform, function_name)(hass, device_id)
File "/usr/src/homeassistant/homeassistant/components/zha/device_trigger.py", line 65, in async_get_triggers
zha_device = await async_get_zha_device(hass, device_id)
File "/usr/src/homeassistant/homeassistant/components/zha/core/helpers.py", line 142, in async_get_zha_device
return zha_gateway.devices[ieee]
KeyError: 00:0d:6f:00:12:00:b1:81
2019-12-15 14:43:54 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.23387683242960] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 19, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 187, in websocket_device_automation_list_actions
actions = await _async_get_device_automations(hass, "action", device_id)
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 134, in _async_get_device_automations
for domain in domains
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 108, in _async_get_device_automations_from_domain
return await getattr(platform, function_name)(hass, device_id)
File "/usr/src/homeassistant/homeassistant/components/zha/device_action.py", line 59, in async_get_actions
zha_device = await async_get_zha_device(hass, device_id)
File "/usr/src/homeassistant/homeassistant/components/zha/core/helpers.py", line 142, in async_get_zha_device
return zha_gateway.devices[ieee]
KeyError: 00:0d:6f:00:12:00:b1:81
Any ideas what could be causing this? I assume now that HA doesn’t have an option to listen for new devices anymore, it’s always listening for new devices. But I don’t see a new entity showing up in HA for the outlet so it does not seem like it’s being added at all.