Fix typos in update_failed message of fritz (#149330)

This commit is contained in:
Norbert Rittel 2025-07-23 18:53:19 +02:00 committed by GitHub
parent d3771571cd
commit 1312e04c57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@
"message": "Unable to establish a connection" "message": "Unable to establish a connection"
}, },
"update_failed": { "update_failed": {
"message": "Error while uptaing the data: {error}" "message": "Error while updating the data: {error}"
} }
} }
} }

View File

@ -57,7 +57,7 @@ async def test_sensor_update_fail(
async_fire_time_changed(hass, dt_util.utcnow() + timedelta(seconds=300)) async_fire_time_changed(hass, dt_util.utcnow() + timedelta(seconds=300))
await hass.async_block_till_done(wait_background_tasks=True) await hass.async_block_till_done(wait_background_tasks=True)
assert "Error while uptaing the data: Boom" in caplog.text assert "Error while updating the data: Boom" in caplog.text
sensors = hass.states.async_all(SENSOR_DOMAIN) sensors = hass.states.async_all(SENSOR_DOMAIN)
for sensor in sensors: for sensor in sensors: