Skip to content

Fixed color temp commands#1353

Open
harrismck wants to merge 7 commits into
xaviml:mainfrom
harrismck:main
Open

Fixed color temp commands#1353
harrismck wants to merge 7 commits into
xaviml:mainfrom
harrismck:main

Conversation

@harrismck

Copy link
Copy Markdown
Contributor

Replaced now deprecated 'color_temp' (mireds) HA attribute with 'color_temp_kelvin'.
This fixed color temp commands failing with errors like this:

appdaemon  | 2026-05-12 01:51:02.097131 WARNING HASS: Error with websocket result: invalid_format: extra keys not allowed @ data['color_temp']: request={'type': 'call_service', 'domain': 'light', 'service': 'turn_on', 'service_data': {'color_temp': 337}, 'target': {'entity_id': 'light.my_light'}, 'id': 7}

This is a bit of a bandaid fix, I just know it worked for me and figured I should share.
Fixes #1349

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95%. Comparing base (e4f1ca9) to head (1f87471).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1353   +/-   ##
====================================
  Coverage    95%     95%           
====================================
  Files        66      66           
  Lines      2756    2758    +2     
====================================
+ Hits       2612    2614    +2     
  Misses      144     144           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

[BUG] color_temp predefined action not working after 2026.3 HA update

1 participant