Improve deCONZ signal strings (#57140)

This commit is contained in:
Robert Svensson
2021-10-07 12:48:27 +02:00
committed by GitHub
parent 2ba8e1030c
commit 750dd9186e
15 changed files with 72 additions and 71 deletions

View File

@@ -46,7 +46,7 @@ from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS
from homeassistant.core import callback
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from .const import ATTR_LOCKED, ATTR_OFFSET, ATTR_VALVE, NEW_SENSOR
from .const import ATTR_LOCKED, ATTR_OFFSET, ATTR_VALVE
from .deconz_device import DeconzDevice
from .gateway import get_gateway_from_config_entry
@@ -118,7 +118,9 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
config_entry.async_on_unload(
async_dispatcher_connect(
hass, gateway.async_signal_new_device(NEW_SENSOR), async_add_climate
hass,
gateway.signal_new_sensor,
async_add_climate,
)
)