Repository navigation
Conversation
wall_dogs.yaml makes sensor.wall_dogs from two dashboard buttons and any NFC tag labelled wall_dog_walk or wall_dog_feed, with how many hours each may go set in the UI (0, the default, is not tracked). The wall reads it at /api/ha/dogs and shows a Dogs context card, after packages and before the to-do list, while either is overdue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the Dogs overdue-card changes.
No open issues 🎉
What changed in this PR
Completes the wall dashboard’s fifth phase by adding an amber Dogs card when a walk or feeding is overdue, using a new Home Assistant summary sensor.
Changes:
- Adds walk/feed recording through dashboard buttons and labelled NFC tags, with configurable intervals that default to disabled.
- Places Dogs after Packages and before To-do, treating never-recorded activities as overdue once tracking is enabled.
- Adds the fixed
/api/ha/dogsendpoint and updates setup, security and architecture documentation for twenty exposed Home Assistant entities.
| File | Description |
|---|---|
stacks/sensitive/wall/wall.js |
Polls the dogs sensor and renders the overdue card. |
stacks/sensitive/README.md |
Documents card precedence and interval setup. |
stacks/sensitive/home-assistant/packages/wall_dogs.yaml |
Defines recording buttons, interval helpers and the summary sensor. |
stacks/sensitive/home-assistant/packages/README.md |
Documents the new package and its defaults. |
stacks/sensitive/Caddyfile |
Adds the fixed dogs state-read endpoint. |
docs/security.md |
Documents the additional household data and entity count. |
docs/changelog.md |
Records the feature, omitted Alexa integration and preview-only verification. |
docs/architecture.md |
Updates the wall’s Home Assistant entity count to twenty. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Phase 5, the last of the wall's steps. A new Home Assistant package,
wall_dogs.yaml, makessensor.wall_dogs: when the dogs were last walked and fed, and how many hours each may go. The wall reads it at a new Caddy handle,/api/ha/dogs, and shows a Dogs context card in amber while either is overdue. The card sits after Packages and before To-do.input_button.dogs_walked,input_button.dogs_fed), and any NFC tag labelledwall_dog_walkorwall_dog_feedin the UI counts too. The newest press or scan wins. The labels pick the tags, so no tag or dog is named in the repo.input_numbers, in hours. Both start at 0, which means not tracked: the sensor is unavailable and the card stays hidden until they are set in the UI.Why
The wall plan's fifth step, after #1578, #1579, #1583 and #1584. No device knows when the dogs were walked or fed, so it is recorded by hand.
Blast radius
The wall page and Home Assistant on
trinityonly. A new package, its helpers, and one more read-only GET handle in the wall's Caddy site block. The wall now reads twenty HA entities instead of nineteen (docs/security.md,docs/architecture.md).secrets/*.sops.yamlVerification
make validatepasses: not run locally, so it is left to CI. These were run instead:scripts/check_docs.pypasses.yamllint -son the package passes../scripts/lint.shpasses with 11 checks skipped: actionlint, zizmor, packer ×2, tofu ×3, ansible-lint and editorconfig-checker, all for lack of Docker or pipx.docs/security.md,docs/architecture.md,stacks/sensitive/README.md, the packages README anddocs/changelog.md.After deploy:
curl/api/ha/dogsfrom trinity.🤖 Generated with Claude Code