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

[velux] Do not use new API on Somfy devices #14225

Merged
merged 2 commits into from
Jan 29, 2023

Conversation

andrewfg
Copy link
Contributor

In #13212 we implemented the new API calls, but it seems that Somfy devices do not support use of this new API.

So this PR reverts to the old API calls for Somfy devices

Signed-off-by: Andrew Fiddian-Green software@whitebear.ch

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg added bug An unexpected problem or unintended behavior of an add-on regression Regression that happened during the development of a release. Not shown on final release notes. labels Jan 15, 2023
@andrewfg andrewfg requested a review from gs4711 as a code owner January 15, 2023 17:03
@andrewfg andrewfg self-assigned this Jan 15, 2023
@andrewfg andrewfg marked this pull request as draft January 15, 2023 17:04
@andrewfg
Copy link
Contributor Author

andrewfg commented Jan 15, 2023

For testing purposes the JAR file is here..

org.openhab.binding.velux-3.4.2-SNAPSHOT.jar.zip

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/velux-new-openhab2-binding-feedback-welcome/32926/1524

@jlaur jlaur removed the regression Regression that happened during the development of a release. Not shown on final release notes. label Jan 15, 2023
@andrewfg andrewfg marked this pull request as ready for review January 16, 2023 18:45
@andrewfg andrewfg marked this pull request as draft January 16, 2023 19:16
@gs4711
Copy link
Contributor

gs4711 commented Jan 17, 2023

@andrewfg
The main changes look fine.

What about the deletion of line 121 (at least this is visible in the change view)?

@andrewfg
Copy link
Contributor Author

What about the deletion of line 121

@gs4711 this line was moved from 121 to 98

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg marked this pull request as ready for review January 26, 2023 17:07
@andrewfg andrewfg requested a review from a team January 26, 2023 17:32
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@lolodomo lolodomo merged commit 178d16c into openhab:main Jan 29, 2023
@lolodomo lolodomo added this to the 4.0 milestone Jan 29, 2023
@andrewfg andrewfg deleted the velux-somfy-fix branch January 30, 2023 15:02
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
* [velux] revert use of new API for Somfy devices
* [velux] fix compare to wrong value

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
renescherer pushed a commit to renescherer/openhab-addons that referenced this pull request Mar 23, 2023
* [velux] revert use of new API for Somfy devices
* [velux] fix compare to wrong value

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
FordPrfkt pushed a commit to FordPrfkt/openhab-addons that referenced this pull request Apr 20, 2023
* [velux] revert use of new API for Somfy devices
* [velux] fix compare to wrong value

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/oh3-4-1-velux-rollershutter-state-not-updating/148758/1

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.

5 participants