-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature/lawn mower entity #216
Feature/lawn mower entity #216
Conversation
@dereisele - Thank you for your work! Makes sense to use the mower base entity here now it's available in HA. Instead of coping everything, can you just change the vacuum to mower? There is no reason anymore to keep the vacuum, we can drop that support now. |
Hi, I would keep the vacuum entity for now, because it's supported by the Google Assistant integration, but the lawn mower isn't. The largest non-specific copy-paste is the state mapping. Maybe it could be moved to the mix-in Indego Entity. |
Ok, that's a good argument to keep it to prevent breaking things. I think we should make it configurable... expose it as vacuum, mower or none. I will have a look at your code soon and try to merge it. |
I will be merging it in a separate branch for now. I want to make some additional changes before merging it in the main develop branch. |
Nice, comment here if you need any help |
It has been merged, optimized and made configurable. It's now on the develop branch.
Expose as 'mower' or 'vacuum' if now configurable. Both disabled by default. This can be enabled through the integration configuration panel. |
@wimb0 - I noticed you have added the PL translations some time ago. Some translations are now missing due to new functionality. Any chance you can add the new translations? |
Maybe @zmechu can help with the Polish translations. He is the one who did the translation. |
Sure! Which file should be translated? |
I think this one: https://github.com/jm-73/Indego/blob/lawn-mower-entity-feature/custom_components/indego/translations/pl.json |
Done, please take a look if all is OK. |
Hi there, will perform french translation tonight.
If I remember well, some error code was provided in HA UI, is there any file to transcript as well ?
Cheers
…________________________________
From: zmechu ***@***.***>
Sent: Monday, May 27, 2024 1:56:34 PM
To: jm-73/Indego ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [jm-73/Indego] Feature/lawn mower entity (PR #216)
I think this one: https://github.com/jm-73/Indego/blob/lawn-mower-entity-feature/custom_components/indego/translations/pl.json Seems like EN (and NL) is already translated, so you can use https://github.com/jm-73/Indego/blob/lawn-mower-entity-feature/custom_components/indego/translations/en.json as source for what needs to be translated.
Done, please take a look if all is OK.
—
Reply to this email directly, view it on GitHub<#216 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AI4MVOQTQP5ZWMRL3GQHO2DZEMNPFAVCNFSM6AAAAABH6WHDCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGMZDGMZZHA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Yes 👍
…________________________________
From: kizeu ***@***.***>
Sent: Monday, May 27, 2024 3:13:22 PM
To: jm-73/Indego ***@***.***>
Cc: urbatecte ***@***.***>; Comment ***@***.***>
Subject: Re: [jm-73/Indego] Feature/lawn mower entity (PR #216)
Do you mean the alert description and headline ?
31BF047C-C2B4-4AAF-B026-0CDD846D2A1B.jpeg (view on web)<https://github.com/jm-73/Indego/assets/116279616/2badd5b6-00be-4e9d-afb2-30420ebaaa05>
1EB77C24-8EF9-4392-90C7-017F369241AC.png (view on web)<https://github.com/jm-73/Indego/assets/116279616/d6d7a102-6d0b-44e0-b029-007fd3128ccb>
—
Reply to this email directly, view it on GitHub<#216 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AI4MVOVBZLQ5FKMKGDTUMILZEMWPFAVCNFSM6AAAAABH6WHDCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGQ3DAMBSGU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Ok, at the moment it is not possible because some codes have to be added first but im working on it and hope to finish it tomorrow. I will write anpther PR and let you know when im done so you can start working on your additional translations 😉 |
Great 😎
…________________________________
From: kizeu ***@***.***>
Sent: Monday, May 27, 2024 4:25:54 PM
To: jm-73/Indego ***@***.***>
Cc: urbatecte ***@***.***>; Comment ***@***.***>
Subject: Re: [jm-73/Indego] Feature/lawn mower entity (PR #216)
Ok, at the moment it is not possible because some codes have to be added first but im working on it and hope to finish it tomorrow. I will write anpther PR and let you know when im done so you can start working on your additional translations 😉
—
Reply to this email directly, view it on GitHub<#216 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AI4MVOXKY3LHA6K44HL2DGDZEM67FAVCNFSM6AAAAABH6WHDCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGU4TGNZUGA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@kimzeuner |
Good morning guys, Please let me know when you have finished the translations and i will create the PR for that. One additional request: While you are translating the texts, could you please have a look if the list of possible alerts and mower states is complete ? Unfortunately i have not found a complete list of all possible messages, that's why I could only use the ones that I have encountered so far. Thanks a lot! |
Hi @kimzeuner , Here is my french translation file. It seems that some alert message are missing. Cheers |
I think there is no need to translate alert messages. They are returned by the API in the language of the account. I just tested it, I get my alerts in my native language (Dutch). What I see:
|
And note that code (including alerts) is still being optimized and might change a bit before the release. |
Correct, i saw the same (alert message in native language) in my system, thats why i have not translated them. |
I recommend it, I'm nearly done optimizing the alert part, will commit it when complete. I will also open a separate issue for translations when ready. It's not really related to this PR, so a bit confusing. |
Please provide all translation updates in a PR or file in issue #221. Thank you! Note that I just pushed an update to the develop branch requiring more translations ;-) |
Add Lawn Mower Entity
Home Assistant has a native lawn mower entity since version 2023.9 so I quickly added it.
It is based on the vacuum entity. The state mapping reflects the husqvarna implementation.