devtools

adaptive-lighting

Adaptive Lighting custom component for Home Assistant
3,521 stars+8★ this week237 forksPythonUpdated 10/22/2026100% free · open source
What it does

It automatically dims and shifts the color temperature of your Home Assistant lights to follow the sun, creating healthier indoor lighting without manual adjustments.

When to use it
  • •You want your office lights to get cooler in the morning and warmer in the evening to support circadian rhythm.
  • •You have smart bulbs that support brightness and color temperature and want them to react to sunrise/sunset automatically.
  • •You need a lightweight alternative to third‑party lighting schedules that can be controlled via Home Assistant automations.
Ready-to-paste prompt
```yaml
service: adaptive_lighting.set
target:
  entity_id: light.living_room_adaptive
data:
  brightness: 180
  color_temp: 3500
  transition: 5
```
Heads up: Adaptive Lighting only works with lights that expose both `brightness` and `color_temp` (mired) attributes; trying to use it on a dim‑only or RGB‑only bulb will cause the service to fail.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/adaptive-lighting && curl -fsSL https://workflowstacks.com/api/skills/adaptive-lighting/claude-skill -o ~/.claude/skills/adaptive-lighting/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How adaptive-lighting works
Codeflow
Free to inspect

Adaptive-lighting is a medium Python project (~7.6k lines across 20 code files, plus 10 test files). Setup is light: runs with Docker. Last commit this month, Apache-2.0 license, has a test suite.

Size
Medium codebase
~7.6k lines · 20 code files · ~1 h to skim
Setup
Light setup
Runs with Docker.
Runs on
Python · Docker
No API keys detected
Python 99%Shell 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    webapp/app.py
    Where the program starts running
  3. 3
    pyproject.toml
    Dependencies and the commands it exposes
What's in each folder
docs/Documentation15 files
custom_components/Folder51 files
webapp/Folder8 files
scripts/Helper scripts7 files
blueprints/Folder5 files
config/Configuration1 files
.github/CI / automation (GitHub Actions)24 files
tests/Tests — proof it works11 files
READMEHas testsDocumentedCI checksDocker readyApache-2.0 licenseUpdated this month
Quick Actions
Details
Creator
basnijholt
Language
Python
Category
devtools
Published
8/25/2020

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/adaptive-lighting.svg)](https://workflowstacks.com/skills/adaptive-lighting?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.