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:
@@ -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,
|
||||
|
||||
@@ -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."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user