-
-
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
[pushbullet] Add link and file push type support #17472
Conversation
8be23ab
to
739ee5b
Compare
Signed-off-by: jsetton <jeremy.setton@gmail.com>
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.
In general it looks very good, nice additions! Left some comments to look at.
...g.pushbullet/src/main/java/org/openhab/binding/pushbullet/internal/PushbulletHttpClient.java
Outdated
Show resolved
Hide resolved
...g.pushbullet/src/main/java/org/openhab/binding/pushbullet/internal/PushbulletHttpClient.java
Show resolved
Hide resolved
...hbullet/src/main/java/org/openhab/binding/pushbullet/internal/handler/PushbulletHandler.java
Outdated
Show resolved
Hide resolved
...hbullet/src/main/java/org/openhab/binding/pushbullet/internal/handler/PushbulletHandler.java
Show resolved
Hide resolved
...hbullet/src/main/java/org/openhab/binding/pushbullet/internal/handler/PushbulletHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: jsetton <jeremy.setton@gmail.com>
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.
Last comment, otherwise LGTM. Thanks for addressing it quickly!
...hbullet/src/main/java/org/openhab/binding/pushbullet/internal/handler/PushbulletHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: jsetton <jeremy.setton@gmail.com>
Signed-off-by: jsetton <jeremy.setton@gmail.com>
I was wondering if the channel configuration should be removed. There is no implementation in the binding supporting them and is confusing. Same goes with the items and sitemap examples at the end of the documentation. As far as the thing configuration, I think that the |
bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/thing/thing-types.xml
Show resolved
Hide resolved
I prefer to seperate PR's for these kind of clean-up. |
Signed-off-by: jsetton <jeremy.setton@gmail.com>
bundles/org.openhab.binding.pushbullet/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: jsetton <jeremy.setton@gmail.com>
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, LGTM.
Do you need some time to finish tests and validate no regressions happened due to all the recent commits? I'll merge otherwise.
I already tested that I could push a note, link and file successfully with the last changes I made. So you can merge this PR. Thanks. |
|
* [pushbullet] Add link and file push type support Signed-off-by: jsetton <jeremy.setton@gmail.com>
* [pushbullet] Add link and file push type support Signed-off-by: jsetton <jeremy.setton@gmail.com>
* [pushbullet] Add link and file push type support Signed-off-by: jsetton <jeremy.setton@gmail.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This change adds link and file push type support as defined in the Pushbullet API documentation.
This includes the ability to send messages attaching the content of an image URL, a local file or an Image item state.