-
-
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
[Konnected] Adding base URL to config to allow for manually adding thing #13251
Conversation
Signed-off-by: Haavar Valeur <haavar@haavar.com>
...konnected/src/main/java/org/openhab/binding/konnected/internal/handler/KonnectedHandler.java
Outdated
Show resolved
Hide resolved
...konnected/src/main/java/org/openhab/binding/konnected/internal/handler/KonnectedHandler.java
Outdated
Show resolved
Hide resolved
...konnected/src/main/java/org/openhab/binding/konnected/internal/handler/KonnectedHandler.java
Outdated
Show resolved
Hide resolved
...onnected/src/main/java/org/openhab/binding/konnected/internal/KonnectedBindingConstants.java
Outdated
Show resolved
Hide resolved
…seUrl to be consistent. Signed-off-by: Haavar Valeur <haavar@haavar.com>
Signed-off-by: Haavar Valeur <haavar@haavar.com>
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, thank you
You already prepared an alert for the release notes, fine. Maybe you can adjust a little the description to be more in line with this new PR ? |
Also the README should be updated. At least things example where ipAddress is still mentioned. |
…ing (openhab#13251) * Adding base URL to config to allow for manually adding thing * Simplified reading of the base URL configuration. Renamed field to baseUrl to be consistent. * Changed config parameters to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
…ing (openhab#13251) * Adding base URL to config to allow for manually adding thing * Simplified reading of the base URL configuration. Renamed field to baseUrl to be consistent. * Changed config parameters to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
…ing (openhab#13251) * Adding base URL to config to allow for manually adding thing * Simplified reading of the base URL configuration. Renamed field to baseUrl to be consistent. * Changed config parameters to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
…ing (openhab#13251) * Adding base URL to config to allow for manually adding thing * Simplified reading of the base URL configuration. Renamed field to baseUrl to be consistent. * Changed config parameters to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
…ing (openhab#13251) * Adding base URL to config to allow for manually adding thing * Simplified reading of the base URL configuration. Renamed field to baseUrl to be consistent. * Changed config parameters to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
This PR will allow for things to be manually added, and for the address of the konnected panel to be updated.
Before this change there is no configuration for the address of the konnected panel. If a panel is manually added the thing is not functional, and there is a null pointer exception on initialization.
I renamed the fields
ipAddress
andhost
tobaseUrl
for clarity. The field contains a URL, and not an IP address. I'm not sure if this breaks backwards compatibility, but recreation of the konnected things is anyway needed for openhab version 3.4.0.