-
-
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
[avmfritz] Use system channel types and decrease minimum polling interval #14587
Conversation
c1fa1d2
to
1a5accd
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, looks good. I have added four minor comments for consideration regarding the changed labels and descriptions.
bundles/org.openhab.binding.avmfritz/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.avmfritz/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.avmfritz/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...mfritz/src/main/java/org/openhab/binding/avmfritz/internal/handler/Powerline546EHandler.java
Show resolved
Hide resolved
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
1a5accd
to
4fb55d3
Compare
<channel id="actual_temp" typeId="system.indoor-temperature"> | ||
<label>Current Temperature</label> | ||
<description>Current measured temperature.</description> | ||
</channel> |
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.
If you change the channel-type, please add update instructions for existing things.
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.
They are already part of this PR. Or did I miss one of the changed Things.
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.
And I already forgot that I reviewed them. 😳
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.
By the way: I missed to change the channel types in the https://github.com/openhab/openhab-addons/blob/4fb55d3350dfb3767abf1e1f6b5dfa220be05fc7/bundles/org.openhab.binding.avmfritz/src/main/resources/OH-INF/thing/bridge-types.xml. Will do that.
Do the update instructions work for bridge-types too? I am not able to add tag <bridge-types>
in the instructions.xml
.
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.
thing-type
should also work for bridges.
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.
Alright. If so this PR is completed from my side.
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
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
…rval (openhab#14587) * Use system default channel types * Changed minimum polling interval to 1s Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Hi, is there any possibility to test it upfront or do I have to wait until OH 4.0.0 Milestone 5? |
Closes #13655
Signed-off-by: Christoph Weitkamp github@christophweitkamp.de