feat: send Home Assistant events to keybars Pro #1

Open
jwarykowski wants to merge 2 commits from feat/integration into main
Owner

A HACS custom integration that sends events to keybars Pro through its relay webhook, so it works wherever Home Assistant runs (option 1: send only; a full device waits on a local API in keybars Pro).

  • Config flow: paste the webhook address and secret; a test event checks them (secret needed, unknown address, unreachable relay each get their own message).
  • keybars.send_event (event, optional repo and branch) and a notify.keybars_pro entity (message = event, title = repo).
  • Events go out as home.<event> to match keybars Pro's Home Assistant rules; the prefix is an option.

Tests run it in a test Home Assistant 2026.10 (pytest-homeassistant-custom-component) against a mocked relay; the 404 path was also checked against the real relay. Not tried in a real Home Assistant yet.

A HACS custom integration that sends events to keybars Pro through its relay webhook, so it works wherever Home Assistant runs (option 1: send only; a full device waits on a local API in keybars Pro). - Config flow: paste the webhook address and secret; a test event checks them (secret needed, unknown address, unreachable relay each get their own message). - `keybars.send_event` (event, optional repo and branch) and a `notify.keybars_pro` entity (message = event, title = repo). - Events go out as `home.<event>` to match keybars Pro's Home Assistant rules; the prefix is an option. Tests run it in a test Home Assistant 2026.10 (pytest-homeassistant-custom-component) against a mocked relay; the 404 path was also checked against the real relay. Not tried in a real Home Assistant yet.
feat: send Home Assistant events to keybars Pro
Some checks failed
CI / check (pull_request) Failing after 6s
4df60ebd1a
A config flow takes the webhook address keybars Pro made on its relay, and
its secret, checking them with a test event. keybars.send_event and the
notify.keybars_pro entity send events as home.<event>, the label keybars
Pro's Home Assistant rules use; the prefix is an option.
ci: fetch with git, the Python image has no Node
All checks were successful
CI / check (pull_request) Successful in 1m29s
c0236c13e6
All checks were successful
CI / check (pull_request) Successful in 1m29s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/integration:feat/integration
git switch feat/integration

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/integration
git switch feat/integration
git rebase main
git switch main
git merge --ff-only feat/integration
git switch feat/integration
git rebase main
git switch main
git merge --no-ff feat/integration
git switch main
git merge --squash feat/integration
git switch main
git merge --ff-only feat/integration
git switch main
git merge feat/integration
git push origin main
Sign in to join this conversation.
No reviewers
No labels
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
jwarykowski/keybars-homeassistant!1
No description provided.