mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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…
x
Reference in New Issue
Block a user