File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
homeassistant/components/lamarzocco
tests/components/lamarzocco Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ def _raise_timeout_error() -> None: # to avoid TRY301
125125 await self .coordinator .device .update_firmware ()
126126 while (
127127 update_progress := await self .coordinator .device .get_firmware ()
128- ).command_status is UpdateStatus .IN_PROGRESS :
128+ ).command_status is not UpdateStatus .UPDATED :
129129 if counter >= MAX_UPDATE_WAIT :
130130 _raise_timeout_error ()
131131 self ._attr_update_percentage = update_progress .progress_percentage
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ async def test_update_process(
6262 ),
6363 UpdateDetails (
6464 status = UpdateStatus .UPDATED ,
65- command_status = None ,
65+ command_status = UpdateStatus . UPDATED ,
6666 progress_info = None ,
6767 progress_percentage = None ,
6868 ),
You can’t perform that action at this time.
0 commit comments