Skip to content

Commit

Permalink
msg change
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanov committed Nov 24, 2024
1 parent bd20c8b commit ccf58a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/elehant/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def get_i18n(hass: HomeAssistant, dev: ElehantData) -> ElehantI18N:
model = _MODELS_EN[dev.model_key]

except KeyError:
raise UnknownDeviceError("Unknown device %s", dev.model_key)
raise UnknownDeviceError("Unknown %s device", dev.model_key)

model = f"{type} {model}"
name = f"{model}-{dev.serial_number}"
Expand Down

0 comments on commit ccf58a6

Please sign in to comment.