-
Notifications
You must be signed in to change notification settings - Fork 23
Norwegian Translation #295
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
base: master
Are you sure you want to change the base?
Conversation
Added translation key for charger entity, to support easy identification of current entity from other integration.
Norwegian Bokmål
Norwegian Nynorsk
As mentioned on dirkgroenen/hass-evse-load-balancer#52, I think you can do this a lot simpler without relying on the detour through We are gradually trying to align with HA-core code-standards, and entities with a large number of attributes are quite unpopular among the core team as far as I can tell. The |
Oh, it is? Do you have links to this? Because these special binary_sensors we have for each charger and installation are a neat way to collect arbitrary information from zaptec without needing a SW update to access new entities. Let's move this discussion to a separate issue, please. |
name="Charger", | ||
translation_key="charger", # added to facilitate for other integrations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change puzzles me a bit, please elaborate why. What's wrong with the old? As the original comment stated, the exact point is not to have translation on this entity. Moreso, I cannot see any translation for "charger"
, so I don't quite get this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comment. I'll sure do elaborate -> Check this comment here. The need of the translation key emerged as the other integration already used translation_keys to identify entities.
I guess the actual translation files (.json's) could have been posted in a separate request, to avoid mixing the usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be nice to move that to another PR, because I think the translation itself is ready for merge.
|
This reverts commit 3cd6084.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bittelitt småpirk, men eg veit ikkje heilt om eg er einig med meg sjølv heller, så går nok an å overtala meg om du har gode argument.
Co-authored-by: steinmn <[email protected]>
Added translation for Norwegian Bokmål and Norwegian Nynorsk. Translation done by ChatGPT and revised afterwards.
Added translation key for binary_sensor.charger entity. This to support easy identification of the entity from other integration (https://github.com/dirkgroenen/hass-evse-load-balancer).