mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Improve deCONZ signal strings (#57140)
This commit is contained in:
@@ -26,7 +26,6 @@ from homeassistant.util.percentage import (
|
||||
percentage_to_ordered_list_item,
|
||||
)
|
||||
|
||||
from .const import NEW_LIGHT
|
||||
from .deconz_device import DeconzDevice
|
||||
from .gateway import get_gateway_from_config_entry
|
||||
|
||||
@@ -74,7 +73,9 @@ async def async_setup_entry(hass, config_entry, async_add_entities) -> None:
|
||||
|
||||
config_entry.async_on_unload(
|
||||
async_dispatcher_connect(
|
||||
hass, gateway.async_signal_new_device(NEW_LIGHT), async_add_fan
|
||||
hass,
|
||||
gateway.signal_new_light,
|
||||
async_add_fan,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user