Skip to content

feat(bias): per-light night_brightness override for the night_look join - #14

Merged
cnewkirk merged 1 commit into
mainfrom
feat/bias-per-light-night-brightness-v2
Aug 8, 2026
Merged

feat(bias): per-light night_brightness override for the night_look join#14
cnewkirk merged 1 commit into
mainfrom
feat/bias-per-light-night-brightness-v2

Conversation

@cnewkirk

@cnewkirk cnewkirk commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Re-landing e8d776d through a proper PR (originally direct-pushed to main,
reverted in #9).

The idle=circadian -> night_look join (#13) gives every viewing light the
exact same look, but physical mounts differ: an indirect uplight behind
objects needs more lumens than a direct fixture to register as visible at
all. Live report 2026-08-08: the couch lightstrip sits under a console
table behind books and bounces light upward — at night_look's shared 1% it
was imperceptible.

bias.lights[*].night_brightness (optional, 0-100) overrides just the
brightness this light uses when joining night_look — keeps night_look's
colour but lets each fixture be calibrated for its mount.

1 new pure test, verified to fail on the pre-fix code (branch disabled, ran
red, restored).

The idle=circadian -> night_look join (251af28) gives every viewing
light the exact same look, but physical mounts differ: an indirect
uplight behind objects needs more lumens than a direct fixture to
register as visible at all, let alone the same. Live report
2026-08-08: the couch lightstrip sits under a console table behind
books and bounces light upward -- at night_look's shared 1% it was
imperceptible.

bias.lights[*].night_brightness (optional, 0-100) overrides just the
brightness this light uses when joining night_look -- keeps
night_look's colour (still reads as the same theme) but lets each
fixture be calibrated for how/where it's actually mounted. Lights
without an override are unaffected, same as before.

1 new pure test (override applies + a light with no override stays
unchanged, both checked together), verified to fail on the pre-fix
code (branch disabled, ran red, restored). Full suite (398 tests) +
mypy clean.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cnewkirk
cnewkirk merged commit e759b86 into main Aug 8, 2026
1 check passed
@cnewkirk
cnewkirk deleted the feat/bias-per-light-night-brightness-v2 branch August 8, 2026 12:47
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.

1 participant