Rediscover Idasen Desk to allow re-setup (#101672)
This commit is contained in:
parent
fb215479d4
commit
6d1876394e
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
data: DeskData = hass.data[DOMAIN].pop(entry.entry_id)
|
||||
await data.desk.disconnect()
|
||||
bluetooth.async_rediscover_address(hass, data.address)
|
||||
|
||||
return unload_ok
|
||||
|
|
Loading…
Add table
Reference in a new issue