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

[phc] Fix duplicate id in JRM channel definition #8191

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

gnlpfjh
Copy link
Contributor

@gnlpfjh gnlpfjh commented Jul 25, 2020

Fix a bug in the thing type definition, that has crept in #6447.

While I removed the channel groups for JRM and DIM thing types I forgot that goup id is used in the Binding.
Aditionally I didn't change the channel ids so we have duplicate ids in the JRM type definition.

So we have to use the channel-groups for all thing-types again.

The bug was found in this thread: https://community.openhab.org/t/switch-from-peha-phc-to-new-automation-with-openhab2/61154/36

Signed-off-by: Jonas Hohaus [email protected]

@gnlpfjh gnlpfjh requested a review from martinvw July 25, 2020 11:08
@TravisBuddy
Copy link

Travis tests were successful

Hey @gnlpfjh,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@@ -94,25 +88,25 @@
<parameter name="upDownTime1" type="integer" min="1" max="65535">
<advanced>true</advanced>
<label>Time Shutter 1</label>
<description>The Time which the first shutter needs to move up/down.</description>
<description>The time (in seconds) which the first shutter needs to move up/down.</description>
Copy link
Member

Choose a reason for hiding this comment

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

You can add the attribute unit="s" to the `parameter element to specify this is in seconds. Then it's not needed to add the unit in the description. But you can change that in some future improvement.

@Hilbrand Hilbrand added the bug An unexpected problem or unintended behavior of an add-on label Jul 27, 2020
@Hilbrand Hilbrand merged commit 60458e5 into openhab:2.5.x Jul 27, 2020
@Hilbrand Hilbrand added this to the 2.5.8 milestone Jul 27, 2020
MPH80 pushed a commit to MPH80/openhab-addons that referenced this pull request Aug 3, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
Signed-off-by: MPH80 <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
Signed-off-by: Daan Meijer <[email protected]>
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Sep 12, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
Fixes a bug in the thing type definition, that has crept in openhab#6447.

Signed-off-by: Jonas Hohaus <[email protected]>
@gnlpfjh gnlpfjh deleted the jrm-id-bug branch February 4, 2021 11:30
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.

3 participants