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] Configure zone on panel even if the channel is not yet linked #13380

Merged
merged 1 commit into from Sep 17, 2022

Conversation

haavar
Copy link
Contributor

@haavar haavar commented Sep 12, 2022

Before this change the binding would only send the zone configuration to the panel if the channel for that zone was linked to an item. This would cause the settings pushed on the creation of a new channel to not contain the new channel. Settings are not pushed when channels are linked. The result is that zones may or may not be correctly provisioned.

This change remove the check to see if a channel is linked before provisioning the zone.

The diff looks bigger than what it is. It's mostly just changing the indentation after removing the conditional.

Signed-off-by: Haavar Valeur <haavar@haavar.com>
@wborn wborn added bug An unexpected problem or unintended behavior of an add-on rebuild Triggers Jenkins PR build and removed bug An unexpected problem or unintended behavior of an add-on rebuild Triggers Jenkins PR build labels Sep 17, 2022
@lolodomo lolodomo merged commit 7dfb963 into openhab:main Sep 17, 2022
@lolodomo lolodomo added this to the 3.4 milestone Sep 17, 2022
leifbladt pushed a commit to leifbladt/openhab-addons that referenced this pull request Oct 15, 2022
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
…b#13380)

Signed-off-by: Haavar Valeur <haavar@haavar.com>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
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

3 participants