Library refactorization of deCONZ (#23725)
* Improved sensors * Lib update signalling * Replace reason with changed * Move imports to top of file * Add support for secondary temperature reported by some Xiaomi devices * Bump dependency to v59
This commit is contained in:
1 parent
0ba54ee9b7
commit
31b2f331db
19 files changed
+104
-83
No files matched your search
@@ -164,6 +164,7 @@ async def async_unload_entry(hass, config_entry):
|
||||
if not hass.data[DOMAIN]:
|
||||
hass.services.async_remove(DOMAIN, SERVICE_DECONZ)
|
||||
hass.services.async_remove(DOMAIN, SERVICE_DEVICE_REFRESH)
|
||||
|
||||
elif gateway.master:
|
||||
await async_populate_options(hass, config_entry)
|
||||
new_master_gateway = next(iter(hass.data[DOMAIN].values()))
|
||||
|
||||
Reference in new issue
Block a user