home-assistant/core · error · UpdateFailed
update_error
Error message
update_error
What it means
UpdateFailed with translation_key update_error (coordinator.py:214), rendered as 'Error updating data for {device}: {error}'. It is the catch-all for any BraviaError during _async_update_data that is not NotFound or a connection/off class; before raising, the coordinator marks is_on=False and connected=False, so entities show unavailable/off until the next successful poll.
Source
Thrown at homeassistant/components/braviatv/coordinator.py:214
)
return
raise UpdateFailed(
translation_domain=DOMAIN,
translation_key="update_error_not_found",
translation_placeholders={
"device": self.config_entry.title,
},
) from err
except BraviaConnectionError, BraviaConnectionTimeout, BraviaTurnedOff:
self.is_on = False
self.connected = False
_LOGGER.debug(
"Update for %s skipped: the TV is turned off", self.config_entry.title
)
except BraviaError as err:
self.is_on = False
self.connected = False
raise UpdateFailed(
translation_domain=DOMAIN,
translation_key="update_error",
translation_placeholders={
"device": self.config_entry.title,
"error": repr(err),
},
) from err
async def async_update_volume(self) -> None:
"""Update volume information."""
volume_info = await self.client.get_volume_info()
if (volume_level := volume_info.get("volume")) is not None:
self.volume_level = volume_level / 100
self.volume_muted = volume_info.get("mute", False)
self.volume_target = volume_info.get("target")
async def async_update_playing(self) -> None:
"""Update current playing information."""View on GitHub (pinned to 58a3fdb3ea)
Solutions
- Read the {error} repr in the log to identify which API call and payload failed.
- Reload the integration or wait for the next coordinator poll — transient malformed responses often clear themselves.
- Update Home Assistant / bravia-tv library if the TV firmware changed response formats.
- If persistent, capture a debug log (logger: homeassistant.components.braviatv=debug) and report with the TV model/firmware.
Defensive patterns
Strategy: retry
Prevention
- Treat single UpdateFailed polls as transient; the coordinator retries automatically.
- Keep entities dependent on the TV tolerant of brief unavailable states.
- Report recurring parse errors with debug logs instead of masking them.
When it happens
Trigger: A poll of get_volume_info / get_playing_time_info / sources or system info raises a generic BraviaError — malformed JSON-RPC response, unexpected API payload, or an HTTP error other than connection loss — while the TV is otherwise reachable.
Common situations: Sony firmware changes altering API responses; intermittent 5xx from the TV's embedded web server; bravia-tv library parsing a response shape it does not expect; happens alongside entity state flipping to off/unavailable.
Related errors
- update_error_not_found
- Unable find multi-factor auth module: {mfa_module_id}
- Error communicating with API: {err}
- setup_parse_exception
- {err}
AI-assisted analysis of home-assistant/core@58a3fdb3ea (2026-08-14).
Data as JSON: /api/errors/725cd8c98b120ea5.
Report an issue: GitHub.