Don't assert the device registry entry in zwave_js (#49178)

This commit is contained in:
Raman Gupta 2021-04-13 11:32:17 -04:00 committed by GitHub
parent beea2dd35f
commit 0f454bc456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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