Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add translation support to any entity following Home Assistant documentation.
Translations
strings.json
has been deleted because it's not needed for custom components. Onlyen.json
is useful.Translation keys has been added to any entities.
I also added french translations as it's my native language.
Entity options
options
has been added to current stage, speed profile and printing speed to add autocompletion in automation editor and translations.Lowercasing string value
Unknown
has been changed tounknown
so it can be translated too.Speed value has be converted to lowercase to support translations too.
Device class for online entity
Online entity has been changed to running instead of power because power is for electricity power detection not device power on.
Feel free to give any feedback if you find something strange or wrong.