Remove unnecessary Supervisor info call (#143700)

This commit is contained in:
Stefan Agner 2025-04-26 22:27:31 +02:00 committed by GitHub
parent 3e2c54dcbd
commit 18f51abfe6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View File

@ -407,11 +407,6 @@ class HassioDataUpdateCoordinator(DataUpdateCoordinator):
return new_data
async def force_info_update_supervisor(self) -> None:
"""Force update of the supervisor info."""
self.hass.data[DATA_SUPERVISOR_INFO] = await self.hassio.get_supervisor_info()
await self.async_refresh()
async def get_changelog(self, addon_slug: str) -> str | None:
"""Get the changelog for an add-on."""
try:

View File

@ -152,7 +152,7 @@ class SupervisorAddonUpdateEntity(HassioAddonEntity, UpdateEntity):
await update_addon(
self.hass, self._addon_slug, backup, self.title, self.installed_version
)
await self.coordinator.force_info_update_supervisor()
await self.coordinator.async_refresh()
class SupervisorOSUpdateEntity(HassioOSEntity, UpdateEntity):