Add brand icon and a single-page day simulator - #6
Merged
Conversation
- brands/shade_engine: icon.svg source plus 256/512 PNGs laid out for a home-assistant/brands custom_integrations submission (the integrations page loads images from brands.home-assistant.io, so the icon shows up once that PR merges); README logo. - docs/simulator.html: self-contained simulator — paste zone YAML, pick date/location/sky, and it plays a full day through JS ports of calculator.py (eye-zone + reflected-glare, verified identical to the Python on a 3,536-case grid) and core.py (deadband, defer-not-drop rate limiting, settle window, manual-move holds), driven by a NOAA solar model, a synthetic outdoor-lux curve, and an editable lux/elevation policy ladder. Per-zone timelines with mode strips, a scrubbable room cross-section showing eye zone and reflector bounce, and a manual-move injector to demo the hold lifecycle. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
home-assistant/brands stopped accepting custom-integration PRs in Feb 2026; since HA 2026.3 an integration's own brand/ directory is served locally and takes priority over the brands CDN. Move the PNGs to custom_components/shade_engine/brand/ and keep the SVG source in assets/. The icon appears on the integrations page as soon as this version is deployed — no external submission involved. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Two additions, no integration-logic changes:
Brand icon: SVG source in
assets/, rasterized 256/512 PNGs incustom_components/shade_engine/brand/. Since HA 2026.3, brand images shipped inside the integration are served locally and take priority over the brands CDN (home-assistant/brands stopped accepting custom-integration PRs in Feb 2026), so the integrations-page placeholder goes away as soon as this version is deployed — no external submission needed. The README now shows the icon.Simulator (
docs/simulator.html): a self-contained single page — paste zone YAML (same schema asconfiguration.yaml), pick a date/location/sky, and it plays the whole stack through one day:calculator.py(eye-zone + reflected-glare constraints) — verified identical to the Python on a 3,536-case grid across four geometry stylescore.pyactuator semantics: deadband, rate limiting that defers, settle window, manual-move holds (with an injector control to watch a hold start and expire, verified: 60-min hold then forced reconcile)?t=17:00&date=2026-08-17URL params to deep-link a moment🤖 Generated with Claude Code