Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation not used #16

Open
MrMarble opened this issue Feb 19, 2024 · 2 comments
Open

Translation not used #16

MrMarble opened this issue Feb 19, 2024 · 2 comments

Comments

@MrMarble
Copy link

Hi, just installed your addon and noticed that the entities are duplicated, I have Spanish as my HAOS language and the SpeedTest integration uses Spanish entity names speedtest_descarga, speedtest_subida...
imagen

I don't know if the name of the entity can be fetched somehow to use the same or maybe add it to the config file of the addon, it's non-breaking but an improvement

MrSuicideParrot added a commit that referenced this issue Apr 20, 2024
MrSuicideParrot added a commit that referenced this issue Apr 20, 2024
@MrSuicideParrot
Copy link
Owner

Sorry, I thought that my latest commit would fix this issue, but now that I looked again at your print, it won't fixed it. This ids are hardcoded in my code and I don't know how I be able to retrieve the correct id according to the translation. I need to do more research.

@miguelopezlopez
Copy link

Hello,

After a time wondering why only ping was correctly updated, I have found that I am also hitting this bug. Thanks for raise it!
Do you know when is going to be fixed?

In the meantime, I have found a workaround that basically consists in changing the entity names back to english. This is the precedure I have followed:

  • Unintall both speedtest-cli and speedtest
  • Reboot system
  • Install speedtest integration and edit the entity names to sensor.speedtest_download and sensor.speedtest_upload
  • Install speedtest-cli addon
  • Remove the statistics of the old entities by clicking in "Developer Tools"->"Statistics"-> "Fix it"

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants