-
Notifications
You must be signed in to change notification settings - Fork 29
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 for mower states #228
Comments
You have to add CONF_TRANSLATION_KEY to the entity definition in the init.py (like it is done for the alert entity in the actual version 5.7.0). After that you can define your translations in the translation file |
Hmmm.... would You like to explain something more? Paste a link to manual? I can see in init.py in lines 96-103:
I presume I should add something like that in that place but I'm not so good at it. |
You are already on the right way.
and so on
I hope that helps you, unfortunately i can not show it better at the moment because im on vacation and only have access to my HA and github via smartphone. |
@kimzeuner thank You for "wasting" Your good time then. Have a nice vacation :) According to the main question - I have a translation file, it has been already made by @zmechu (PL) [thanks] so I added only the two mentioned lines in entity definitions. I will check it in the evening because the mower has stuck again and the integration is not working. EDIT: OK. It is working:) but .... I ve got entity that allowed to command the mower, the icon was changing to green during mowing. Now it disappeaered. What could I messed? |
No idea why, will have a look if it is the same in my setup when i am back home but i dont think that this is because of your changes as the color should be state based and i think that still the original english state is used for this (standard for lawn mower entities on HA side and not defined in the integration). |
Hmmm... I cannot get back to that but ... there was an entity that has an mower icon that became green during mowing, when I clicked on it I could start mowin or get back to the station. I haven't made any extra automations or scripts, it was just after installing integration. Now I'm trying to have it back and I don't know what am I doing wrong or in other way than earlier :( It was usefull option. Maybe it was in previous version and now disappeared? |
You can check the following: |
Nice that it is back now. And do you have any problem with this entity ? |
Nope .... rather not. It is working as I expect. |
I think I found the issue .... by first instaling the integration I'm choosing "... as lawn_mower entity" and than there's no entity for remote. Than I need to configure again and ... the option ".... as the lawn_mower" is not choosen. Than I need to check it again and the entity appears. Maybe it is only problem of my HA instance. |
What's the status of this issue? Maybe someone can create a PR with the new translations? |
I will do that until end of the week i think |
Closing this issue, let's keep the discussing in on the PR (#241). |
I'm sorry for stupid question but I can't find ...
How to add translation to the states/states details? I have a json file in custom_components/indego/translations/ but nothing changes, everthing is in EN.
Probably it is very simple but I do not know how :(
The text was updated successfully, but these errors were encountered: