-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[netatmo] Make configuration link clickable in Main UI #18079
Conversation
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.
LGTM, thanks, this annoyed me for a while
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.
Cool! I have added few minor annoying comments. 😉
bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/i18n/netatmo_fi.properties
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/i18n/netatmo_fr.properties
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.netatmo/src/main/resources/OH-INF/i18n/netatmo_it.properties
Outdated
Show resolved
Hide resolved
...ing.netatmo/src/main/java/org/openhab/binding/netatmo/internal/handler/ApiBridgeHandler.java
Outdated
Show resolved
Hide resolved
See openhab/openhab-webui#2996 Signed-off-by: Jimmy Tanagra <[email protected]>
36e7e4c
to
9b760b8
Compare
Note to self: Check how this looks like in events.log. |
Signed-off-by: Jimmy Tanagra <[email protected]>
…cription See openhab/openhab-addons#18079 (comment) Signed-off-by: Jimmy Tanagra <[email protected]>
Before this PR: In log:
With this PR: (and link works) In log:
Is the binding able to get hold of host and port, or is this only known by the UI? If the binding could obtain it, I guess it would be possible to provide it from binding side so that the link would also be available in the log. Either way, it's still an improvement, since we now have a working link in the UI, and we didn't have that in UI or log previously. It's just a minor glitch that the log shows the placeholders. |
I haven't dug deep enough to figure this out. Doing it in the UI / javascript was easy. If I have time I could poke around and see. |
Thanks! 👍 One last thought: How will this work with openHAB cloud? I don't use that personally, so would need to set this up to check. |
Good question! I have never used myopenhab in this manner, but I've just tested it now, e.g. on amazonechocontrol https://home.myopenhab.org/amazonechocontrol/aa2862ceec82/ clicking that link worked for me. This means, this. has to be done through webui. You can't figure out this link from within the binding because it doesn't know whether it's accessed locally or via myopehab. |
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.
LGTM
See openhab/openhab-webui#2996