Skip to content

[homeassistant] fix: reuse Home Assistant persistent notification - #3

Closed
teknium1 wants to merge 1 commit into
mainfrom
port/homeassistant-4
Closed

teknium1 wants to merge 1 commit into
mainfrom
port/homeassistant-4

Conversation

@teknium1

@teknium1 teknium1 commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Ported from NousResearch/hermes-homeassistant#4 by @CoronaCowboy. The hermes-homeassistant repo moved into this monorepo (see the README), so this is the same commit applied under homeassistant/, authorship kept. Review continues here.


Original description:

Summary

  • reuse the hermes_agent Home Assistant persistent notification by default so routine Hermes replies update it instead of accumulating in the HA notification panel
  • allow platforms.homeassistant.extra.notification_id to select a different reusable notification, or an empty string to preserve Home Assistant's default create-a-new behavior
  • document the setting and test default, configured, and empty-ID payloads

Verification

  • HERMES_HOME=<temporary isolated home> PYTHONPATH=/Users/chuck/.hermes/hermes-agent <temporary Python 3.11 venv>/bin/python -m pytest tests -q
    • 67 passed

This ports the intent of the closed core PR #112108 to the official standalone Home Assistant plugin, where the adapter now lives.

Infographic

pantheon-port

@teknium1

Copy link
Copy Markdown
Contributor Author

Superseded: salvaged onto current main as #431, which landed via #446 (tip 0af01cf).

@teknium1 teknium1 closed this Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

homeassistant Home Assistant plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant