Home-Assistant-Sensor-Afvalbeheer
Home-Assistant-Sensor-Afvalbeheer copied to clipboard
Overwrite waste types
Hello,
Can we overwrite waste type strings by configuration ? For example, WASTE_TYPE_GREY is 'Restafval' and I would like to set it to 'Ordures-Ménagères' or simply 'Grises'.
Thank you,
Pierre
Hi Pierre,
Thanks for your question. At the moment the french translation is not finished yet. It still needs some work. For now you can create template sensors to translate the states in your desired naming.
Hello,
Thank you for your reply.
Addressing this through translation(s) might be a never ending story as there are many languages out there. Additionally, one may not like the term you would have implemented.
This is why I thought that being able to provide custom names for wasted types would suit every one needs without requiring (yet another) template.
This is already defined as a series of constants in the code and thought it would be really easy to externalise in a configuration file.
Well. I hear you. I should submit a PR 😌
Thank you anyway for your nice work 👍
This comment is ment to be constructive and is not a critiscism or a complaint.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this issue is still relevant, please add a comment to keep it open. Thank you for your contributions!
This issue has been automatically closed due to inactivity. If you believe this issue is still relevant, please reopen it or create a new issue with updated information. Thank you!