-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Provide this integration in HACS #165
Comments
Documentation how to add to HACS is here: https://hacs.xyz/docs/publisher/ |
HACS validation passes. |
There are several problems with the translation keys, e.g. : So spaces are not allowed. Anything against changing all spaces in the keys (e.g. in class LuxOperationMode(StrEnum) ) to underscores? |
I think it have to match with the return values from Bouni/python-luxtronik. But wait... Bounis Luxtronik is available in HACS. How does he fullfil the requirements? |
He does not use translations, so no issue with the translation keys. |
Where can I see the log for the problems? |
Just go to the 'Actions' tab in the repository. (It's to the right of the 'Pull requests' tab). |
Reading the translations documentation, isn't it as simple as adding a "translation_key" properties to the entity definitions? I'll have a look if I can fix the translation errors in this way. |
This message is wrong:
Does the script not allow the new translation keys for attributes? |
With PR #171 the translation key errors are fixed. The following 2 hassfest errors still need a fix: |
I also fixed the
Only the
I suspect this one may have a relation with the existing (Bouni) luxtronik integration in HACS? |
Yes. This is a problem. |
Did you test it? There are many places with checks value == enum.value. |
Yes, I have tested it (with english language). I did not test the german and polish languages, so there the risk of a problem/bug is bigger, I achieved this by modifying the Status, Status1 and Status3 values when they are read. See the modified
I think with this approach I addressed that the checks value == enum.value remain working correctly. Using the raw values from luxtronik could be an alternative, but then we we need a new pypi release of bouni/Luxtronik. Of course it is always possible that I made a mistake somewhere. |
A more general question about this issue "Provide this integration in HACS": |
No. It's still my plan. |
@rhammen |
At the moment this integration is only available if you add it a custom repo in HACS.
It would be nice if HACS know it without custom repo.
The text was updated successfully, but these errors were encountered: