mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 07:47:08 +00:00
Rediscover Idasen Desk to allow re-setup (#101672)
This commit is contained in:
parent
fb215479d4
commit
6d1876394e
@ -90,5 +90,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
if unload_ok := await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
|
if unload_ok := await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
|
||||||
data: DeskData = hass.data[DOMAIN].pop(entry.entry_id)
|
data: DeskData = hass.data[DOMAIN].pop(entry.entry_id)
|
||||||
await data.desk.disconnect()
|
await data.desk.disconnect()
|
||||||
|
bluetooth.async_rediscover_address(hass, data.address)
|
||||||
|
|
||||||
return unload_ok
|
return unload_ok
|
||||||
|
Loading…
x
Reference in New Issue
Block a user