Skip to content
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] Removed defaults for zone configuration parameter from the channels #13333

Merged
merged 2 commits into from Aug 29, 2022

Conversation

haavar
Copy link
Contributor

@haavar haavar commented Aug 29, 2022

Bugfix for issue when adding channels with the default zone configured. The thing get into an invalid config state when adding a channel with the default zone selected. The only way to add channel for the default zone is to add a channel for a different zone, then go back and edit it to the default value.

The cause is that the zone parameter was marked as required and had a default.

The default value did not make sense to me, so I removed it.

Signed-off-by: Haavar Valeur <haavar@haavar.com>
@jlaur jlaur added the bug An unexpected problem or unintended behavior of an add-on label Aug 29, 2022
@jlaur
Copy link
Contributor

jlaur commented Aug 29, 2022

@haavar - should this now be mentioned in the README? Since now required, I would assume it would need to be included in full example as bare minimum? https://next.openhab.org/addons/bindings/konnected/#full-example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
@haavar
Copy link
Contributor Author

haavar commented Aug 29, 2022

@haavar - should this now be mentioned in the README? Since now required, I would assume it would need to be included in full example as bare minimum? https://next.openhab.org/addons/bindings/konnected/#full-example

I read though the readme, and I did not see anything that would need to be updated because of this change. I did however notice that the example config used the wrong property name for the zone. I updated that.

Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jlaur jlaur merged commit 195a37e into openhab:main Aug 29, 2022
@jlaur jlaur added this to the 3.4 milestone Aug 29, 2022
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Sep 3, 2022
…e channels (openhab#13333)

* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
leifbladt pushed a commit to leifbladt/openhab-addons that referenced this pull request Oct 15, 2022
…e channels (openhab#13333)

* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
…e channels (openhab#13333)

* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
…e channels (openhab#13333)

* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
marcelGoerentz pushed a commit to marcelGoerentz/openhab-addons that referenced this pull request Nov 14, 2022
…e channels (openhab#13333)

* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
…e channels (openhab#13333)

* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
…e channels (openhab#13333)

* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants