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

[avmfritz] Use system channel types and decrease minimum polling interval #14587

Merged
merged 4 commits into from
Mar 23, 2023

Conversation

cweitkamp
Copy link
Contributor

  • Use system default channel types
  • Changed minimum polling interval to 1s

Closes #13655

Signed-off-by: Christoph Weitkamp github@christophweitkamp.de

@cweitkamp cweitkamp added the enhancement An enhancement or new feature for an existing add-on label Mar 12, 2023
@cweitkamp cweitkamp changed the title [avmfritz] Use system channel type and decrease minimum polling interval [avmfritz] Use system channel types and decrease minimum polling interval Mar 12, 2023
@cweitkamp cweitkamp force-pushed the feature-avmfritz-improvements branch from c1fa1d2 to 1a5accd Compare March 12, 2023 14:33
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, looks good. I have added four minor comments for consideration regarding the changed labels and descriptions.

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
@cweitkamp cweitkamp force-pushed the feature-avmfritz-improvements branch from 1a5accd to 4fb55d3 Compare March 22, 2023 11:03
Comment on lines +94 to +97
<channel id="actual_temp" typeId="system.indoor-temperature">
<label>Current Temperature</label>
<description>Current measured temperature.</description>
</channel>
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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. 😳

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

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>
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.

LGTM

@jlaur jlaur merged commit 5e17f1d into openhab:main Mar 23, 2023
@jlaur jlaur added this to the 4.0 milestone Mar 23, 2023
@cweitkamp cweitkamp deleted the feature-avmfritz-improvements branch March 24, 2023 05:51
FordPrfkt pushed a commit to FordPrfkt/openhab-addons that referenced this pull request Apr 20, 2023
…rval (openhab#14587)

* Use system default channel types
* Changed minimum polling interval to 1s

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
@helmar74
Copy link

helmar74 commented Jul 5, 2023

Hi, is there any possibility to test it upfront or do I have to wait until OH 4.0.0 Milestone 5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[avmfritz] pollingInterval and HAN_FUN_CONTACT
4 participants