MTrab/landroid_cloud

Home Assistant Constants needs translation

Closed this issue · 0 comments

Describe the issue

I noticed that my mower has a idle state, and that is was shown as "idle" in the UI. Started looking in to that and I think that for custom components all strings need translations, even the ones imported from Home Assistant. If I remember correctly this was implemented a while back.

So e.g. from homeassistant.const import STATE_IDLE, STATE_LOCKED, STATE_UNKNOWN there needs to be translations for "idle", "locked" and "unknown" to be shown correct in the UI.

image

If the core translations would be valid it would have sad "Inaktiv" instead.

What version of Home Assistant Core has the issue?

2024.4.4

What was the last working version of Home Assistant Core?

No response

What version of the Landroid Cloud integration do you have installed

v5.0.4

What type of installation are you running?

Home Assistant Container

Which make and model is the mower used for this integration?

Landroid M500

Diagnostics information (NOT log entries!)

Not applicable

Relevant log entries

None

Additional information

No response