Skip to content

Commit c67e005

Browse files
authored
Use command error message for lock in Volvo integration (#155677)
1 parent 1c6913e commit c67e005

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

homeassistant/components/volvo/lock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _reset_and_create_error(
127127

128128
return HomeAssistantError(
129129
translation_domain=DOMAIN,
130-
translation_key="lock_failure",
130+
translation_key="command_failure",
131131
translation_placeholders={
132132
"command": command,
133133
"status": status,

homeassistant/components/volvo/strings.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,6 @@
359359
"command_failure": {
360360
"message": "Command {command} failed. Status: {status}. Message: {message}"
361361
},
362-
"lock_failure": {
363-
"message": "Failed to {command} vehicle. Status: {status}. Message: {message}"
364-
},
365362
"no_vehicle": {
366363
"message": "Unable to retrieve vehicle details."
367364
},

0 commit comments

Comments
 (0)