Skip to content

Commit

Permalink
bugfix missing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
zweckj committed Nov 14, 2024
1 parent e70b784 commit 865c2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mammotion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ async def _async_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> Non
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Unload a config entry."""

if unload_ok:= await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
if unload_ok := await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
await entry.runtime_data.manager.remove_device(entry.runtime_data.device_name)
return unload_ok

0 comments on commit 865c2eb

Please sign in to comment.