From 0f454bc4566135698293ee8bcfca80a366ee2b65 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Tue, 13 Apr 2021 11:32:17 -0400 Subject: [PATCH] Don't assert the device registry entry in zwave_js (#49178) --- homeassistant/components/zwave_js/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/zwave_js/__init__.py b/homeassistant/components/zwave_js/__init__.py index b6f781d4a34..37d85b81ebe 100644 --- a/homeassistant/components/zwave_js/__init__.py +++ b/homeassistant/components/zwave_js/__init__.py @@ -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