mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add zigbee connection for wemo bridge lights (#53813)
This commit is contained in:
parent
e5338c3f89
commit
2113368b85
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user