这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jlaur
Copy link
Contributor

@jlaur jlaur commented Jul 22, 2023

Introduce support for Expiring Messages.

I've had some doubts about what would be the best the way to expose this in the thing action API. There is currently a mix of "themed" actions with reduced signatures and a generic action with a full parameter list (where argument positions cannot be changed due to backwards compatibility). Since the TTL parameter applies to all, in the current implementation I have added it to each action as a last optional parameter.

Additionally:

  • Added sendMessage overload without title parameter.
  • Fixed all null annotation issues.
  • Fixed SAT warnings.

Resolves #15288

@jlaur jlaur added enhancement An enhancement or new feature for an existing add-on work in progress A PR that is not yet ready to be merged labels Jul 22, 2023
@jlaur jlaur force-pushed the 15288-pushover-expiring-messages branch 5 times, most recently from d3e6455 to b7588c3 Compare July 26, 2023 15:30
@jlaur jlaur removed the work in progress A PR that is not yet ready to be merged label Jul 26, 2023
@jlaur jlaur marked this pull request as ready for review July 26, 2023 21:53
@jlaur jlaur requested a review from cweitkamp as a code owner July 26, 2023 21:53
@jlaur jlaur requested a review from a team September 23, 2023 15:50
@jlaur jlaur force-pushed the 15288-pushover-expiring-messages branch from 197cb25 to 0054e6d Compare October 7, 2023 22:37
@jlaur
Copy link
Contributor Author

jlaur commented Oct 10, 2023

@cweitkamp - would you like to review this pull request?

jlaur added 2 commits October 19, 2023 20:19
Resolves openhab#15288

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@jlaur jlaur force-pushed the 15288-pushover-expiring-messages branch from 0054e6d to 4d60aa3 Compare October 19, 2023 18:24
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.

Review part 1 of 2

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
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 089b415 into openhab:main Oct 21, 2023
@lolodomo lolodomo added this to the 4.1 milestone Oct 21, 2023
@jlaur jlaur deleted the 15288-pushover-expiring-messages branch October 21, 2023 11:54
@jlaur
Copy link
Contributor Author

jlaur commented Oct 21, 2023

@lolodomo - thanks for the review. 👍

querdenker2k pushed a commit to querdenker2k/openhab-addons that referenced this pull request Oct 21, 2023
* Add support for Expiring Messages
* Add action variants with TTL parameter

Resolves openhab#15288

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
querdenker2k pushed a commit to querdenker2k/openhab-addons that referenced this pull request Oct 29, 2023
* Add support for Expiring Messages
* Add action variants with TTL parameter

Resolves openhab#15288

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: querdenker2k <querdenker2k@gmx.de>
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* Add support for Expiring Messages
* Add action variants with TTL parameter

Resolves openhab#15288

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
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.

[pushover] Expiring Messages

2 participants