Toggle light action no longer obeying colour temp setting #4826
Replies: 1 comment
-
|
Maybe this was a known issue that was being worked on but it appears to have been fixed in 2026.4.1 update. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve suddenly starting having problems with an automation which controls a Tuya bulb via this integration.
I’m aware HA 2026.3 made a change to the way the color temp had to be written in automations etc - color_temp_kelvin.
my automation already uses this but there is an error being thrown in my logs seemingly from this integration when I try to toggle the light on or off at the same time as changing colour temp.
light.on action still works ok but it seems to just be when used with toggle.light action.
I’m struggling to know how to fix this or what exactly is at fault.
I’m updated to the latest version of this integration 2026.4.0.
This is the error:
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 535, in async_handle_toggle_service
await light.async_toggle(**call.data["params"])
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
TypeError: TuyaLocalLight.async_toggle() got an unexpected keyword argument 'color_temp_kelvin'
Beta Was this translation helpful? Give feedback.
All reactions