Skip to content

feat(wall): the thermostat and the Litter-Robot in the Home row - #1579

Merged
Gerrrt merged 2 commits into
mainfrom
wall/house-inside
Nov 19, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
wall/house-inside

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 19, 2026

Copy link
Copy Markdown
Owner

What changed

The office wall's Home row now shows the hallway thermostat's temperature and humidity, plus "heating" or "cooling" while it runs. The Litter-Robot appears in amber only when it needs something.

  • Caddyfile: two new fixed handles. /api/ha/thermostat reads climate.thermostat, whose id names no person or room and is already in thermostat.yaml. /api/ha/litter reads sensor.wall_litter.
  • home-assistant/packages/wall_house.yaml: new sensor.wall_litter, whose state is ok or attention and whose needs attribute lists any of drawer full, litter low and cat weight. It uses litter_robot.yaml's own thresholds (drawer ≥ 90%, litter < 30%, any *_weight_dropping on), so the wall and the phone reminders agree.
  • wall/wall.js:
    • Doors and windows share one item when all are shut. Otherwise the item names what is open, a window as "Left window".
    • fitRow drops the quiet items, Office lights first and then Inside, when the row is too wide. It never drops an amber item and never cuts one partway.

The mockup's "front door locked" item is left out, because the house has no smart lock for it to read.

Why

This is the second of the five steps in the plan that brings the useful ideas from a denser mockup of the wall onto it while keeping the text readable from the chair (ADR-0119). Phase 1 was #1578.

Blast radius

trinity's sensitive tier only: the wall page, two Caddy handles and one HA package. make up restarts Home Assistant, as on every deploy of this stack.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

The wall's HA token can now read two more entities: the thermostat, which can only be read here and never controlled, and the Litter-Robot summary. docs/security.md's count goes from eleven to thirteen.

Verification

  • python3 scripts/check_docs.py: docs OK.

  • ./scripts/lint.sh: passed, but 11 checks were skipped because the Windows workstation has no Docker daemon. yamllint and ruff ran on local binaries, not the pinned versions.

  • I previewed the page at 1920x1080 against stubbed /api answers in two states:

    • Quiet: "Doors & windows closed · Inside 69° · 41% · heating · Office lights on".
    • Busy, with two openings and the Litter-Robot at once: Office lights dropped, and every remaining item fit whole.
  • make validate was not run here.

  • make validate passes

  • Deployed to the lab and confirmed working: still to do. After make up, /api/ha/thermostat and /api/ha/litter must not read unavailable.

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

The Home row gains the hallway thermostat's temperature and humidity, and
heating or cooling while it runs, read from climate.thermostat. The
Litter-Robot shows in amber only when it needs something, through a new
sensor.wall_litter that uses litter_robot.yaml's own thresholds. Doors and
windows share one item when all are shut, and a row too long for the
screen drops the office lights, then the thermostat, never an amber item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 19, 2026 04:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Mandatory warnings can be clipped when the card overflows, and unavailable litter sensors disappear while the house status still appears fresh and healthy.

2 open issues
What changed in this PR

Extends the office wall’s Home row with indoor climate readings and Litter-Robot attention indicators, continuing the dashboard work from #1578.

Changes:

  • Adds fixed, read-only proxy routes for the thermostat and Litter-Robot summary.
  • Combines door/window status and drops quiet items when the Home row is crowded.
  • Documents the new display behavior and expanded entity access.
File Description
stacks/​sensitive/​wall/​wall.js Renders climate and litter status; adds row-fitting logic.
stacks/​sensitive/​README.md Documents the expanded Home row and drop order.
stacks/​sensitive/​home-assistant/​packages/​wall_house.yaml Adds the litter summary using existing reminder thresholds.
stacks/​sensitive/​home-assistant/​packages/​README.md Describes the new summary entity and its attention conditions.
stacks/​sensitive/​Caddyfile Adds fixed thermostat and litter state routes.
docs/​security.md Updates the wall’s exposed entity count from eleven to thirteen.
docs/​changelog.md Records the feature and its verification limits.

Review effort: Balanced

Comment thread stacks/sensitive/wall/wall.js Resolved
Comment thread stacks/sensitive/wall/wall.js Resolved
…obot

Review of #1579:
- When dropping the quiet items is not enough, each warning falls back to
  a count ("6 doors & windows"), so no amber item is ever cut off.
- A Litter-Robot that cannot be read shows as "—", the last quiet item a
  crowded row drops, so an outage never looks like all is well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt enabled auto-merge (squash) November 19, 2026 04:37
@Gerrrt
Gerrrt merged commit 406f363 into main Nov 19, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the wall/house-inside branch November 19, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants