Skip to content

Update Pushover Documentation to add TTL and Resolve Issue 36584 #38808

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

Open
wants to merge 8 commits into
base: next
Choose a base branch
from

Conversation

TheMegamind
Copy link

@TheMegamind TheMegamind commented Apr 29, 2025

Update pushover documentation to incorporate changes proposed in PR 143791, resolve issue 36584 , and add additional supporting references and examples.

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

Summary by CodeRabbit

Summary by CodeRabbit

  • Documentation
    • Expanded and restructured the Pushover integration guide with clearer descriptions and detailed API parameter tables.
    • Updated and added example automations, including advanced usage with multi-device targeting, message expiration, priority handling, and HTML formatting.
    • Included new sections on auto-deleting messages, emergency priority requirements, and incompatibilities.
    • Added an illustrative image and improved instructions for dynamic templated messages.

@home-assistant home-assistant bot added current This PR goes into the current branch has-parent This PR has a parent PR in a other repo in-progress This PR/Issue is currently being worked on needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch labels Apr 29, 2025
@home-assistant
Copy link

It seems that this PR is targeted against an incorrect branch since it has a parent PR on one of our codebases. Documentation that needs to be updated for an upcoming release should target the next branch. Please change the target branch of this PR to next and rebase if needed.

Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit dfcb1fe
🔍 Latest deploy log https://app.netlify.com/sites/home-assistant-docs/deploys/681144b2d0dc190008ffecc5
😎 Deploy Preview https://deploy-preview-38808--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

coderabbitai bot commented Apr 29, 2025

📝 Walkthrough

Walkthrough

The Pushover integration documentation for Home Assistant was extensively revised and expanded. The changes include a clearer description of the integration, a detailed table of all Pushover API parameters, updated configuration instructions, and enhanced automation examples. New sections explain advanced features such as message auto-deletion, priority handling (including emergency messages), multi-device targeting, and HTML message formatting. Visual aids and comprehensive templating examples were added to illustrate usage. No changes were made to code or exported entities; all modifications are limited to documentation content.

Changes

File(s) Change Summary
source/_integrations/pushover.markdown Expanded and restructured documentation: clarified integration purpose, added API parameter table, updated configuration and automation examples, introduced sections for advanced features (multi-device, TTL, priority, HTML), included visual example, and improved templating guidance.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HomeAssistant
    participant PushoverAPI

    User ->> HomeAssistant: Triggers automation (e.g., sends notification)
    HomeAssistant ->> PushoverAPI: Sends notification with parameters (message, title, target, etc.)
    PushoverAPI -->> HomeAssistant: Acknowledges receipt
    HomeAssistant -->> User: (Optional) Confirms notification sent
Loading
sequenceDiagram
    participant User
    participant HomeAssistant
    participant PushoverAPI

    User ->> HomeAssistant: Triggers automation with HTML-formatted message and advanced parameters (priority, ttl, etc.)
    HomeAssistant ->> PushoverAPI: Sends notification with advanced parameters
    PushoverAPI -->> HomeAssistant: Processes according to priority, retry, expire, and formatting
    HomeAssistant -->> User: (Optional) Updates status or logs result
Loading

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (3)
source/_integrations/pushover.markdown (3)

24-36: Enhance API parameters table for accuracy and consistency

  • Update the target Type to accept a list of strings (multi-device support).
  • In the sound row, replace curly quotes around “pushover” with backticks ( `pushover` ).
  • Optionally annotate the ttl entry to note that it’s incompatible with emergency priority (2).
🧰 Tools
🪛 LanguageTool

[uncategorized] ~35-~35: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)


38-55: Remove trailing spaces and extra blank lines
Lines 38, 55, and 79 contain trailing spaces, and there are consecutive blank lines at 40–41. Cleaning these up will resolve MD009 and MD012 warnings.

Also applies to: 79-79

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

38-38: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


40-40: Multiple consecutive blank lines
Expected: 1; Actual: 2

(MD012, no-multiple-blanks)


54-54: Fenced code blocks should be surrounded by blank lines
null

(MD031, blanks-around-fences)


55-55: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


114-114: Hyphenate "1024-character limit"
When used as a compound modifier, add a hyphen:

- up to the 1024 character limit
+ up to the 1024-character limit
🧰 Tools
🪛 LanguageTool

[grammar] ~114-~114: When ‘1024-character’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...mic, html-formatted messages (up to the 1024 character limit), as in this example. {% raw %} ...

(WORD_ESSAY_HYPHEN)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0d1e97b and 648403f.

⛔ Files ignored due to path filters (1)
  • source/images/integrations/pushover/html_example.jpg is excluded by !**/*.jpg
📒 Files selected for processing (1)
  • source/_integrations/pushover.markdown (4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/pushover.markdown

[uncategorized] ~35-~35: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~79-~79: Possible missing comma found.
Context: ...after 6 hours. Also note that in this example the sound parameter is not explicitly s...

(AI_HYDRA_LEO_MISSING_COMMA)


[grammar] ~114-~114: When ‘1024-character’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...mic, html-formatted messages (up to the 1024 character limit), as in this example. {% raw %} ...

(WORD_ESSAY_HYPHEN)

🪛 markdownlint-cli2 (0.17.2)
source/_integrations/pushover.markdown

38-38: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


40-40: Multiple consecutive blank lines
Expected: 1; Actual: 2

(MD012, no-multiple-blanks)


54-54: Fenced code blocks should be surrounded by blank lines
null

(MD031, blanks-around-fences)


55-55: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


77-77: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


180-180: Multiple top-level headings in the same document
null

(MD025, single-title, single-h1)


205-205: Multiple consecutive blank lines
Expected: 1; Actual: 2

(MD012, no-multiple-blanks)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (6)
source/_integrations/pushover.markdown (6)

17-17: Clear and concise introduction to Pushover integration
The added paragraph effectively explains prerequisites, links to relevant resources, and aligns with Home Assistant documentation style.


19-19: Proper inclusion of config flow snippet
Using {% include integrations/config_flow.md %} follows our standard pattern for config-flow integrations.


44-53: Verify YAML syntax for service call
Home Assistant examples typically use service: notify.pushover rather than action:. Please confirm that action: notify.pushover is intended or update to:

-  - action: notify.pushover
+  - service: notify.pushover

Also double-check the nested data: blocks and indentation.


62-71: Confirm service call in multi-device example
As above, replace action: notify.pushover with service: notify.pushover if that aligns with current automation syntax. Ensure the YAML list under target: is properly indented.


82-91: Validate YAML for auto-deleting example
The action: key appears again; standard usage is service: notify.pushover. Please verify and adjust if necessary.


100-110: Verify priority example YAML syntax
Confirm whether action: notify.pushover should be service: notify.pushover here as well, to maintain consistency across examples.

@TheMegamind TheMegamind changed the base branch from current to next April 29, 2025 17:40
@home-assistant home-assistant bot removed needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch current This PR goes into the current branch labels Apr 29, 2025
@home-assistant home-assistant bot added the next This PR goes into the next branch label Apr 29, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🔭 Outside diff range comments (1)
source/_integrations/pushover.markdown (1)

199-199: ⚠️ Potential issue

Enforce uppercase “URL” in voice integration
In the Voice Integration example, change url: to URL: for consistency with terminology standards.

Example diff:

-            url: "https://www.home-assistant.io/"
+            URL: "https://www.home-assistant.io/"
🧹 Nitpick comments (5)
source/_integrations/pushover.markdown (5)

38-38: Remove trailing space
This line has an extra trailing space. Please remove it to satisfy markdownlint rules (MD009).

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

38-38: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


43-54: Surround code fences with blank lines
Ensure fenced code blocks are preceded and followed by blank lines per markdownlint MD031. Add a blank line after the closing yaml at line 54.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

54-54: Fenced code blocks should be surrounded by blank lines
null

(MD031, blanks-around-fences)


55-55: Remove trailing space
The sentence ends with an unnecessary trailing space. Remove it to comply with markdownlint rules (MD009).

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

55-55: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)

🪛 GitHub Actions: home-assistant.io Test

[error] 55-55: Incorrect usage of the term: “url”, use “URL” instead (terminology)


77-77: Remove trailing space
There’s an extra space at the end of this line. Please remove to comply with markdownlint MD009.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

77-77: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


114-114: Hyphenate “1024-character”
When used as a modifier, this term should be hyphenated. Please apply:

-(up to the 1024 character limit)
+(up to the 1024-character limit)
🧰 Tools
🪛 LanguageTool

[grammar] ~114-~114: When ‘1024-character’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...mic, html-formatted messages (up to the 1024 character limit), as in this example. {% raw %} ...

(WORD_ESSAY_HYPHEN)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 648403f and 558024f.

📒 Files selected for processing (1)
  • source/_integrations/pushover.markdown (4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/pushover.markdown

[uncategorized] ~35-~35: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~79-~79: Possible missing comma found.
Context: ...after 6 hours. Also note that in this example the sound parameter is not explicitly s...

(AI_HYDRA_LEO_MISSING_COMMA)


[grammar] ~114-~114: When ‘1024-character’ is used as a modifier, it is usually spelled with a hyphen.
Context: ...mic, html-formatted messages (up to the 1024 character limit), as in this example. {% raw %} ...

(WORD_ESSAY_HYPHEN)

🪛 markdownlint-cli2 (0.17.2)
source/_integrations/pushover.markdown

38-38: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


40-40: Multiple consecutive blank lines
Expected: 1; Actual: 2

(MD012, no-multiple-blanks)


54-54: Fenced code blocks should be surrounded by blank lines
null

(MD031, blanks-around-fences)


55-55: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


77-77: Trailing spaces
Expected: 0 or 2; Actual: 1

(MD009, no-trailing-spaces)


205-205: Multiple consecutive blank lines
Expected: 1; Actual: 2

(MD012, no-multiple-blanks)

🪛 GitHub Actions: home-assistant.io Test
source/_integrations/pushover.markdown

[error] 28-28: Incorrect usage of the term: “url”, use “URL” instead (terminology)


[error] 55-55: Incorrect usage of the term: “url”, use “URL” instead (terminology)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (6)
source/_integrations/pushover.markdown (6)

3-3: Approve updated description
The new description clearly states the integration’s purpose and usage.


17-17: Approve improved introduction
The expanded introduction provides clear context and helpful links.


19-19: Approve config flow include
Integrating the standard config flow include aligns with Home Assistant documentation guidelines.


57-71: Approve multi-device example
The section clearly explains multi-device targeting with proper YAML formatting.


100-104: Approve emergency priority example
The YAML example correctly demonstrates setting priority, retry, and expire parameters for an emergency message.


23-37: ⚠️ Potential issue

Enforce uppercase “URL” in API parameters table
The table currently lists url and url_title in lowercase. According to terminology standards, use uppercase “URL” consistently.

Apply this diff:

-| url         | string   | no       | URL to show as a clickable link.                                                       |
-| url_title   | string   | no       | Text to display for the link.                                                          |
+| URL         | string   | no       | URL to show as a clickable link.                                                       |
+| URL title   | string   | no       | Text to display for the link.                                                          |

Likely an incorrect or invalid review comment.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~35-~35: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 GitHub Actions: home-assistant.io Test

[error] 28-28: Incorrect usage of the term: “url”, use “URL” instead (terminology)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (5)
source/_integrations/pushover.markdown (5)

67-75: Duplicate: replace action: with service:
Same issue as above—use service: notify.pushover instead of action: in this example.


87-96: Duplicate: replace action: with service: and trim whitespace

  • Use service: notify.pushover here as well.
  • There is trailing whitespace after ttl: 21600; consider:
-        ttl: 21600 
+        ttl: 21600

105-115: Duplicate: replace action: with service:
Ensure consistency across all examples by using service: notify.pushover.


185-185: Use correct header level for Voice Integration
Change # Voice Integration to ## Voice Integration to maintain a single H1 in the document.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

185-185: Multiple top-level headings in the same document
null

(MD025, single-title, single-h1)


124-172: ⚠️ Potential issue

Duplicate: replace action: with service: and verify HTML support

  • As above, change all - action: notify.pushover to - service: notify.pushover.
  • Pushover’s HTML support is limited to a small set of tags (<b>, <i>, <u>, <strong>, <em>, <a>, <br>). The <font> tag with color attributes may not render. Please verify the allowed HTML tags and update this example accordingly.
🧹 Nitpick comments (2)
source/_integrations/pushover.markdown (2)

17-17: Consider simplifying redundant phrasing
The phrase "send messages or notifications" could be streamlined to just "send notifications" for clarity.


23-38: Clarify parameter types

  • The target field accepts a single string or a list of strings; consider updating the Type column accordingly (e.g., string or list).
  • The html parameter requires a numeric value (1 or 0) rather than a boolean; consider changing its Type to integer.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~36-~36: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 558024f and af4c995.

📒 Files selected for processing (1)
  • source/_integrations/pushover.markdown (4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/pushover.markdown

[uncategorized] ~36-~36: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 markdownlint-cli2 (0.17.2)
source/_integrations/pushover.markdown

185-185: Multiple top-level headings in the same document
null

(MD025, single-title, single-h1)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (3)
source/_integrations/pushover.markdown (3)

3-3: Metadata description looks good
Concise and clear summary of the Pushover integration.


19-19: Config flow include is appropriate
Using the shared config_flow.md include aligns with other integrations.


21-21: Heading level is consistent
Using an H2 for the API parameters section correctly follows the frontmatter title.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

♻️ Duplicate comments (1)
source/_integrations/pushover.markdown (1)

185-185: Use proper header level for section
The "Voice Integration" section is marked using a single #. For consistency and to avoid multiple top-level headings, change it to ## Voice Integration.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

185-185: Multiple top-level headings in the same document
null

(MD025, single-title, single-h1)

🧹 Nitpick comments (2)
source/_integrations/pushover.markdown (2)

28-28: Clarify target parameter type
The table lists target as Type: string, but it also supports a list of device names. Consider updating the Type column to string or list to accurately reflect multi-device usage.


105-114: Consistent YAML indentation
In this priority example, the initial dash (- service: notify.pushover) aligns with column 1. For consistency with other snippets, consider indenting it the same way (e.g., two spaces before the dash).

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between af4c995 and 4b1000e.

📒 Files selected for processing (1)
  • source/_integrations/pushover.markdown (4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/pushover.markdown

[uncategorized] ~36-~36: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 markdownlint-cli2 (0.17.2)
source/_integrations/pushover.markdown

185-185: Multiple top-level headings in the same document
null

(MD025, single-title, single-h1)

🔇 Additional comments (3)
source/_integrations/pushover.markdown (3)

47-57: Basic example snippet looks good
The YAML syntax and indentation correctly demonstrate how to call notify.pushover with optional parameters.


67-76: Multi-device example is accurate
The sample correctly shows using a YAML list for multiple target devices and is clear for end users.


87-96: TTL example is clear
The ttl usage is correctly demonstrated with a self-delete timeline.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
source/_integrations/pushover.markdown (2)

84-84: Grammar nitpick: missing comma
Consider adding a comma after “after 6 hours” for clarity:

“…the message will self-delete from the targeted device(s) after 6 hours, also note that in this example…”

🧰 Tools
🪛 LanguageTool

[uncategorized] ~84-~84: Possible missing comma found.
Context: ... after 6 hours. Also note that in this example the sound parameter is not explicitly s...

(AI_HYDRA_LEO_MISSING_COMMA)


123-172: Dynamic HTML templating example: readability suggestion
This is a comprehensive example, but the long inline templating block could be split or collapsed for readability. Also, ensure metadata: {} is documented in the API table if required for attachments.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4b1000e and 0fac1fb.

📒 Files selected for processing (1)
  • source/_integrations/pushover.markdown (4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/pushover.markdown

[uncategorized] ~84-~84: Possible missing comma found.
Context: ... after 6 hours. Also note that in this example the sound parameter is not explicitly s...

(AI_HYDRA_LEO_MISSING_COMMA)

🔇 Additional comments (9)
source/_integrations/pushover.markdown (9)

3-3: Description header clarity
The new description field succinctly explains the integration.


17-17: Introduction paragraph is clear and informative
This succinctly covers the Pushover integration, API key requirement, and linking to notifications docs.


19-19: Correct inclusion of config flow snippet
Using {% include integrations/config_flow.md %} aligns with other integrations’ documentation patterns.


21-21: Appropriate heading for API parameters
The ## Pushover API Parameters heading properly introduces the parameter table.


47-56: Example automation action is accurate
The YAML correctly uses service: notify.pushover with nested data, matching Home Assistant conventions.


67-76: Multi-device targeting example looks good
Demonstrates list syntax and notes acceptable UI formatting.


87-95: Auto-deleting messages snippet is correct
YAML indentation and the use of ttl align with the API specification.


105-115: Emergency priority example is accurate
The snippet correctly shows priority: 2 with mandatory retry and expire; indentation matches other examples.


185-189: Voice integration example is clear
Using service: notify.pushover under the Alexa action block correctly demonstrates an intent-based call. Examples are consistent and showcase templating effectively.

Also applies to: 198-207, 209-209

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
source/_integrations/pushover.markdown (3)

23-38: Clarify target field type in the parameters table
The table lists target as a list, but examples also accept a single string. Consider updating the Type column to string or list for consistency and clarity:

-| target      | list     | no       | List of Pushover devices to receive message.                                           |
+| target      | string or list | no | List of Pushover devices to receive the message (single device or list of devices). |
🧰 Tools
🪛 LanguageTool

[uncategorized] ~36-~36: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)


105-105: Ensure consistent indentation in examples
This block starts - service: notify.pushover at the margin, whereas other snippets indent list items by two spaces. For uniformity, align all action/service snippets to the same indentation level.


109-109: Maintain consistent target usage
Here target is a plain string (iphone11pro); consider using a one-element list (target: ["iphone11pro"]) to match the updated table’s string or list type.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0fac1fb and dfcb1fe.

📒 Files selected for processing (1)
  • source/_integrations/pushover.markdown (4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/pushover.markdown

[uncategorized] ~36-~36: Possible missing comma found.
Context: ...ation period in seconds for priority 2 (maximum 10800 seconds). | | h...

(AI_HYDRA_LEO_MISSING_COMMA)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - home-assistant-docs
  • GitHub Check: Header rules - home-assistant-docs
  • GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (13)
source/_integrations/pushover.markdown (13)

3-3: Approve the description frontmatter entry
The description succinctly and accurately summarizes the integration’s purpose.


17-17: Approve the integration overview paragraph
The introduction provides a clear, concise explanation of Pushover integration and setup requirements.


19-19: Approve inclusion of config flow snippet
Using {% include integrations/config_flow.md %} aligns with other integrations and keeps this doc DRY.


21-21: Approve the API parameters section heading
The ## Pushover API Parameters header clearly introduces the detailed parameter table.


47-51: Approve example automation action top-level fields
The example correctly demonstrates invoking service: notify.pushover with message, title, and target.


53-56: Approve example nested data parameters
The URL, URL title, sound, and attachment fields are well-illustrated under the nested data: block.


67-71: Approve multiple-devices example top-level keys
Demonstrating target: as a YAML list clearly shows how to address multiple devices.


72-73: Approve list items in target
The individual device entries (- pixel9, - johnsmith) are correctly formatted.


75-75: Approve nested sound parameter for multiple devices
The sound: spacealarm example under the data: block is correct.


87-95: Approve auto-delete (ttl) example
This snippet accurately shows TTL usage (21600 seconds = 6 hours) and aligns with the API behavior.


119-119: Approve dynamic messaging introduction
The description of the html: 1 parameter and templating usage is clear and accurate.


121-171: Approve comprehensive HTML templating example
The raw block and Jinja logic effectively showcase advanced HTML-formatted notifications. It’s lengthy but valuable for power users.


197-197: Approve voice integration example
Using action: in the Alexa intent context is correct (distinct from automation’s service:). The snippet accurately reflects how to call the notify service from an Alexa intent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-parent This PR has a parent PR in a other repo in-progress This PR/Issue is currently being worked on next This PR goes into the next branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant