mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix vlc_telnet disconnect on unload (#57836)
This commit is contained in:
parent
71e2fb62af
commit
5e2a9aa781
@ -53,7 +53,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
entry_data = hass.data[DOMAIN].pop(entry.entry_id)
|
entry_data = hass.data[DOMAIN].pop(entry.entry_id)
|
||||||
vlc = entry_data[DATA_VLC]
|
vlc = entry_data[DATA_VLC]
|
||||||
|
|
||||||
await hass.async_add_executor_job(disconnect_vlc, vlc)
|
await disconnect_vlc(vlc)
|
||||||
|
|
||||||
return unload_ok
|
return unload_ok
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user