-
-
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
[http] Improve binding #15376
[http] Improve binding #15376
Conversation
Anything blocking here? I don't want to resolve merge conflicts several times. |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/oh4-http-binding-cant-be-set-to-pure-writeonly/149623/4 |
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! I have provided some minor feedback from first glance, but would appreciate if @wborn or another @openhab/add-ons-maintainers could have a look also.
@@ -141,7 +146,7 @@ Please note that incompatible units (e.g. `°C` for a `Number:Density` item) wil | |||
| `moveValue` | yes | - | A special value that represents `MOVE` | | |||
|
|||
All values that are not `upValue`, `downValue`, `stopValue`, `moveValue` are interpreted as position 0-100% and need to be numeric only. | |||
|
|||
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.
</config-description> | ||
</thing-type> | ||
|
||
<channel-type id="requestDateTime"> | ||
<item-type>DateTime</item-type> | ||
<label>Dummy </label> |
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.
<label>Dummy </label> | |
<label>Dummy</label> |
I would also suggest to change to a generic label other than "Dummy" since I think it could end up as the actual label in some cases - see openhab/openhab-core#3569.
bundles/org.openhab.binding.http/src/main/resources/OH-INF/update/instructions.xml
Show resolved
Hide resolved
bundles/org.openhab.binding.http/src/main/resources/OH-INF/update/instructions.xml
Show resolved
Hide resolved
bundles/org.openhab.binding.http/src/main/resources/OH-INF/update/instructions.xml
Show resolved
Hide resolved
bundles/org.openhab.binding.http/src/main/resources/OH-INF/update/instructions.xml
Show resolved
Hide resolved
- allow changing UserAgent - add support for TOKEN auth - add channels for last success/last failure - use core classes for channel handling Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
Co-authored-by: Jacob Laursen <[email protected]> Signed-off-by: J-N-K <[email protected]>
Co-authored-by: Jacob Laursen <[email protected]> Signed-off-by: J-N-K <[email protected]>
Co-authored-by: Jacob Laursen <[email protected]> Signed-off-by: J-N-K <[email protected]>
Co-authored-by: Jacob Laursen <[email protected]> Signed-off-by: J-N-K <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/http-refresh-and-delay/128747/11 |
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
As this would close several issues, would it be an intermediate solution to have this with the breaking change in the addons repo and have it without the breaking change in smarthomej? Many breaking changes are about channel/thing id's maybe it would also be nice if the thing upgrade instructions support a update of the id (old => new value), but that is something for core to discuess i guess. |
No. |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/comparison-to-home-assistant/151931/88 |
Closes #13802
Fixes #11920
Fixes #11677
Closes #9265
Depends on openhab/openhab-core#3742