Skip to content

fix: send color_temp_kelvin instead of removed kelvin key - #90

Merged
zoe-codez merged 3 commits into
mainfrom
fix/color-temp-kelvin
Jun 13, 2026
Merged

zoe-codez merged 3 commits into
mainfrom
fix/color-temp-kelvin

Conversation

@zoe-codez

Copy link
Copy Markdown
Member

📬 Changes

Home Assistant removed the kelvin parameter from light.turn_on / light.toggle (it now rejects it: extra keys not allowed @ data['kelvin']). Send color_temp_kelvin instead, in the two places the library calls light.turn_on:

  • light-manager.service.mts — the circadian color-temperature loop
  • room.service.mts — scene apply

Also brings the toolchain current (needed to build against the updated dev-types):

  • Bump all deps to latest; requires @digital-alchemy/hass@^26.6.13 (dev-types now expose color_temp_kelvin: number)
  • Migrate ESLint config to v10 flat-config (jsonc → native flat config; wrap sort-keys-fix via @eslint/compat)
  • tsconfig: add types: ["node"] (TS 6 / @types/node 25 no longer auto-include node globals)
  • Replace upgrade script with the ncu --upgrade form

🗒️ Checklist

  • Read the contribution guide and accept the
    code of conduct
  • Readme and docs (updated or not needed)
  • Tests (added, updated or not needed)

@zoe-codez
zoe-codez merged commit 6f1116e into main Jun 13, 2026
1 check passed
@zoe-codez
zoe-codez deleted the fix/color-temp-kelvin branch June 13, 2026 23:30
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