Home-Assistant-Sensor-Afvalbeheer icon indicating copy to clipboard operation
Home-Assistant-Sensor-Afvalbeheer copied to clipboard

Overwrite waste types

Open hilsonp opened this issue 1 year ago • 2 comments

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

hilsonp avatar Aug 23 '24 22:08 hilsonp

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.

pippyn avatar Aug 26 '24 07:08 pippyn

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.

hilsonp avatar Aug 27 '24 20:08 hilsonp

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!

github-actions[bot] avatar Oct 19 '25 13:10 github-actions[bot]

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!

github-actions[bot] avatar Nov 03 '25 00:11 github-actions[bot]