Change name to entity_id update platform error messages (#87960)

This commit is contained in:
G Johansson 2023-02-12 22:18:09 +01:00 committed by GitHub
parent bb4d6c0d2c
commit 8c00f435a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View file

@ -297,7 +297,7 @@ async def test_entity_with_auto_update(
# Should not be able to skip the update
with pytest.raises(
HomeAssistantError,
match="Skipping update is not supported for Update with auto update",
match="Skipping update is not supported for update.update_with_auto_update",
):
await hass.services.async_call(
DOMAIN,
@ -309,7 +309,7 @@ async def test_entity_with_auto_update(
# Should not be able to clear a skipped the update
with pytest.raises(
HomeAssistantError,
match="Clearing skipped update is not supported for Update with auto update",
match="Clearing skipped update is not supported for update.update_with_auto_update",
):
await hass.services.async_call(
DOMAIN,