Skip to content

Commit

Permalink
Add note about reasons for progress state change update
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Jul 22, 2024
1 parent b63f661 commit 59189e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/matter/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ async def async_install(
raise HomeAssistantError("No software version specified")

Check warning on line 180 in homeassistant/components/matter/update.py

View check run for this annotation

Codecov / codecov/patch

homeassistant/components/matter/update.py#L180

Added line #L180 was not covered by tests

self._attr_in_progress = True
# Immediately update the progress state change to make frontend feel responsive.
# Progress updates from the device usually take few seconds to come in.
self.async_write_ha_state()
try:
await self.matter_client.update_node(
Expand Down

0 comments on commit 59189e7

Please sign in to comment.