Add zigbee connection for wemo bridge lights (#53813)

This commit is contained in:
Eric Severance 2021-08-22 14:12:02 -07:00 committed by GitHub
parent e5338c3f89
commit 2113368b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ from homeassistant.components.light import (
LightEntity, LightEntity,
) )
from homeassistant.core import callback from homeassistant.core import callback
from homeassistant.helpers.device_registry import CONNECTION_ZIGBEE
from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.dispatcher import async_dispatcher_connect
import homeassistant.util.color as color_util import homeassistant.util.color as color_util
@ -105,6 +106,7 @@ class WemoLight(WemoEntity, LightEntity):
"""Return the device info.""" """Return the device info."""
return { return {
"name": self.name, "name": self.name,
"connections": {(CONNECTION_ZIGBEE, self._unique_id)},
"identifiers": {(WEMO_DOMAIN, self._unique_id)}, "identifiers": {(WEMO_DOMAIN, self._unique_id)},
"model": self._model_name, "model": self._model_name,
"manufacturer": "Belkin", "manufacturer": "Belkin",