-
-
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] Using default onvalue if configured is null #13354
Conversation
...konnected/src/main/java/org/openhab/binding/konnected/internal/handler/KonnectedHandler.java
Outdated
Show resolved
Hide resolved
96956ba
to
f252a86
Compare
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! I have added a few comments. Also checked openhab/openhab-distro#1412, and it seems like existing compatibility note also covers these breaking changes.
bundles/org.openhab.binding.konnected/src/main/resources/OH-INF/thing/thing-types.xml
Show resolved
Hide resolved
bundles/org.openhab.binding.konnected/src/main/resources/OH-INF/thing/thing-types.xml
Show resolved
Hide resolved
...inding.konnected/src/main/java/org/openhab/binding/konnected/internal/ZoneConfiguration.java
Show resolved
Hide resolved
...inding.konnected/src/main/java/org/openhab/binding/konnected/internal/ZoneConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Haavar Valeur <haavar@haavar.com>
…r names to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
…F/thing/thing-types.xml Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: Haavar Valeur <haavar@haavar.com>
…F/thing/thing-types.xml Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk> 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
* Using default onvalue if configured is null * Using DTO for channel configuration. Changing channel config parameter names to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
* Using default onvalue if configured is null * Using DTO for channel configuration. Changing channel config parameter names to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
* Using default onvalue if configured is null * Using DTO for channel configuration. Changing channel config parameter names to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
* Using default onvalue if configured is null * Using DTO for channel configuration. Changing channel config parameter names to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
* Using default onvalue if configured is null * Using DTO for channel configuration. Changing channel config parameter names to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
* Using default onvalue if configured is null * Using DTO for channel configuration. Changing channel config parameter names to camel case Signed-off-by: Haavar Valeur <haavar@haavar.com>
During testing I found that sometimes configuration for onvalue can be null.
Maybe it's a bad assumption, but I assumed that the configuration would be populated with the default value set in thing-types.xml. That does not seem to be the case, and the application need to fall back to the default value.