[PR #395] [MERGED] [codex] Add Home Assistant HACS integration #4604

Closed
opened 2026-10-22 04:09:05 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/395
Author: @SpicyMarinara
Created: 5/4/2026
Status: ✅ Merged
Merged: 5/4/2026
Merged by: @SpicyMarinara

Base: main ← Head: codex/home-assistant-hacs


📝 Commits (2)

  • d3165de Add Home Assistant HACS integration
  • 436aa73 Address HACS integration review feedback

📊 Changes

17 files changed (+2207 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
➕ custom_components/marinara_engine/__init__.py (+152 -0)
➕ custom_components/marinara_engine/button.py (+101 -0)
➕ custom_components/marinara_engine/config_flow.py (+178 -0)
➕ custom_components/marinara_engine/const.py (+471 -0)
➕ custom_components/marinara_engine/coordinator.py (+259 -0)
➕ custom_components/marinara_engine/http.py (+60 -0)
➕ custom_components/marinara_engine/manifest.json (+12 -0)
➕ custom_components/marinara_engine/select.py (+65 -0)
➕ custom_components/marinara_engine/sensor.py (+96 -0)
➕ custom_components/marinara_engine/services.yaml (+65 -0)
➕ custom_components/marinara_engine/strings.json (+36 -0)
➕ custom_components/marinara_engine/switch.py (+79 -0)
➕ custom_components/marinara_engine/translations/en.json (+36 -0)
➕ custom_components/marinara_engine/webhook.py (+423 -0)
➕ docs/integrations/home-assistant.md (+167 -0)
➕ hacs.json (+6 -0)

📄 Description

Summary

Adds the Home Assistant / HACS integration from https://github.com/Gunterlie/marinara-engine-hacs so CI and review tooling can scan it in the Marinara Engine repository.

This PR includes:

  • custom_components/marinara_engine Home Assistant integration files
  • root hacs.json metadata
  • Home Assistant integration docs under docs/integrations/home-assistant.md
  • a changelog entry

I also adjusted the copied metadata/docs links to point at Pasta-Devs/Marinara-Engine.

Validation

  • Python syntax check: python3 -m compileall -q custom_components/marinara_engine
  • Prettier check for changelog, docs, HACS metadata, and HA JSON/YAML files
  • Let PR CI scan the imported feature

Notes

Opened as draft intentionally so checks can run before we decide whether this should live inside the main Marinara Engine repo or remain as a separate HACS repository.

Summary by CodeRabbit

  • New Features

    • Home Assistant integration via HACS with automatic syncing of Marinara custom tools and a Home Assistant agent for device control
    • Webhook endpoint and public tool manifest for tool discovery
    • New entities: active-chat select, per-agent switches, chat/agent sensors, abort and sync buttons
    • Services to send messages and trigger generations; options UI for primary chat and enabled tool categories
  • Documentation

    • Complete Home Assistant integration setup and troubleshooting guide
  • Chores

    • Changelog and HACS metadata added

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/395 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 5/4/2026 **Status:** ✅ Merged **Merged:** 5/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `codex/home-assistant-hacs` --- ### 📝 Commits (2) - [`d3165de`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d3165de89e1cf87adb988827c7c8cbe706dad67e) Add Home Assistant HACS integration - [`436aa73`](https://github.com/Pasta-Devs/Marinara-Engine/commit/436aa7357b1a2b69b7fc7d8736b357de6e062e0a) Address HACS integration review feedback ### 📊 Changes **17 files changed** (+2207 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) ➕ `custom_components/marinara_engine/__init__.py` (+152 -0) ➕ `custom_components/marinara_engine/button.py` (+101 -0) ➕ `custom_components/marinara_engine/config_flow.py` (+178 -0) ➕ `custom_components/marinara_engine/const.py` (+471 -0) ➕ `custom_components/marinara_engine/coordinator.py` (+259 -0) ➕ `custom_components/marinara_engine/http.py` (+60 -0) ➕ `custom_components/marinara_engine/manifest.json` (+12 -0) ➕ `custom_components/marinara_engine/select.py` (+65 -0) ➕ `custom_components/marinara_engine/sensor.py` (+96 -0) ➕ `custom_components/marinara_engine/services.yaml` (+65 -0) ➕ `custom_components/marinara_engine/strings.json` (+36 -0) ➕ `custom_components/marinara_engine/switch.py` (+79 -0) ➕ `custom_components/marinara_engine/translations/en.json` (+36 -0) ➕ `custom_components/marinara_engine/webhook.py` (+423 -0) ➕ `docs/integrations/home-assistant.md` (+167 -0) ➕ `hacs.json` (+6 -0) </details> ### 📄 Description ## Summary Adds the Home Assistant / HACS integration from https://github.com/Gunterlie/marinara-engine-hacs so CI and review tooling can scan it in the Marinara Engine repository. This PR includes: - `custom_components/marinara_engine` Home Assistant integration files - root `hacs.json` metadata - Home Assistant integration docs under `docs/integrations/home-assistant.md` - a changelog entry I also adjusted the copied metadata/docs links to point at `Pasta-Devs/Marinara-Engine`. ## Validation - [ ] Python syntax check: `python3 -m compileall -q custom_components/marinara_engine` - [ ] Prettier check for changelog, docs, HACS metadata, and HA JSON/YAML files - [ ] Let PR CI scan the imported feature ## Notes Opened as draft intentionally so checks can run before we decide whether this should live inside the main Marinara Engine repo or remain as a separate HACS repository. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Home Assistant integration via HACS with automatic syncing of Marinara custom tools and a Home Assistant agent for device control * Webhook endpoint and public tool manifest for tool discovery * New entities: active-chat select, per-agent switches, chat/agent sensors, abort and sync buttons * Services to send messages and trigger generations; options UI for primary chat and enabled tool categories * **Documentation** * Complete Home Assistant integration setup and troubleshooting guide * **Chores** * Changelog and HACS metadata added <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:09:05 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4604
No description provided.