1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Use command error message for lock in Volvo integration (#155677)

This commit is contained in:
Thomas D
2025-11-02 18:41:00 +01:00
committed by GitHub
parent 1c6913eec2
commit c67e005b2c
2 changed files with 1 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ class VolvoLock(VolvoEntity, LockEntity):
return HomeAssistantError(
translation_domain=DOMAIN,
translation_key="lock_failure",
translation_key="command_failure",
translation_placeholders={
"command": command,
"status": status,

View File

@@ -359,9 +359,6 @@
"command_failure": {
"message": "Command {command} failed. Status: {status}. Message: {message}"
},
"lock_failure": {
"message": "Failed to {command} vehicle. Status: {status}. Message: {message}"
},
"no_vehicle": {
"message": "Unable to retrieve vehicle details."
},