mirror of https://github.com/home-assistant/core
Don't assert the device registry entry in zwave_js (#49178)
This commit is contained in:
parent
beea2dd35f
commit
0f454bc456
|
@ -104,8 +104,6 @@ def register_node_in_dev_reg(
|
|||
|
||||
async_dispatcher_send(hass, EVENT_DEVICE_ADDED_TO_REGISTRY, device)
|
||||
|
||||
# We can assert here because we will always get a device
|
||||
assert device
|
||||
return device
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue