-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IKEA Trafri LED Dimmers don't expose brightness in HomeAssistant #26446
Comments
If you go to state do you see the brightness value reported there? It's possible there's been an underlying change to the converter that requires the configuration to be reloaded for the device. |
I can see you attached a debug log and from what I can see the following:
So the MQTT payload has a brightness value, I'm not sure why it wouldn't be appear in home assistant unless something under the hood is causing the topic to no longer include brightness. Have you tried reloading the MQTT integration or restarting the MQTT service? |
I just tried a reconfigure via the zigbee2mqtt webIU - here's the zigbee2mqtt log lines from that action:
However, it didn't seem to resolve the issue. My HomeAssistant, zigbee2mqtt and mosquitto (MQTT broker) are all running in containers - I did try restarting all of them ( I also tried restarting the MQTT integration from within the HomeAssistant UI as well - that didn't seem to change anything. I also checked "Download Diagnostics" from the MQTT integration - attached, in case that has anything useful. config_entry-mqtt-01JEB298YS7ZVY21XQ9CG22C2R.json Would removing the device from zigbee2mqtt and then trying to re-add it do anything? Or anything else I should check? |
somewhat the same as #26441 |
I've found this as well for Ikea Silverglans (ICPSHC24-30-IL44-1) and Trådfri (ICPSHC24-30EU-IL-1/ICPSHC24-10EU-IL-2). Noticed an error in Home Assistant logs referencing the config of these lights: So I experimented a bit, according to Home Assistant specifications: I then added this bit in the config topic and injected it, I then added: The entire config will be: This is published in 'homeassistant/light/0x5c0272fffe9817d0/light/config' Now brightness works just as before. It seems as if supported_color_modes is no longer optional.. If this is done on your setup as a temporary workaround, don't forget to enable retain flag :). Edit: zigbee2mqtt/lib/extension/homeassistant.ts Line 539 in 1accb8b
Could do the trick, so instead of: const colorModes = [ hasColorXY && !preferHS ? 'xy' : null, (!hasColorXY || preferHS) && hasColorHS ? 'hs' : null, hasColorTemp ? 'color_temp' : null, ].filter((c) => c);
-- It could be: I'm not certain though, I've only done a quick glance and have no idea how this might mess other things up. I'm a network engineer, not a coder after all.. :) |
Having the same issue on 3 hue bulbs. Interestingly I have no trouble with Ikea bulbs (yet). I also seem to have this in my HA logs: Edit: |
I've come to the same conclusion, if the light has basically any "feature" besides brightness it won't be affected. One of the supported_color_modes is color_temp. It happened to my Ikea lights since they are the only ones that only has brightness. I still don't like the phrasing though, supported_color_modes should not include brightness or onoff since those are not colors.. Rename it to light_features or something in that case.. Edit: |
Well, that got sorted.. |
What happened?
I have several IKEA Trafri LED dimmers that are connected to Zigbee2MQTT:
https://www.zigbee2mqtt.io/devices/ICPSHC24-10EU-IL-1_ICPSHC24-10EU-IL-2.html
Zigbee2mqtt version: 2.1.1-dev commit: 382c89c49eae395da3a452c8851281829967fec7
HomeAssistant version (Core): 2025.3.0.dev202502200229
Previously (e.g. 1-2 weeks ago), the dimmers were working fine in HomeAssistant, and I was able to successfully adjust the brightness.
However, as of a recent zigbee2mqtt update, these are now simply appearing as binary on/off lights in HomeAssistant:
In the zigbee2mqtt webUI - I can confirm that brightness is still exposed, and seems to work when you directly control it there:
What did you expect to happen?
The dimmable LED drivers should exposed brighness controls in HomeAssistant integration.
How to reproduce it (minimal and precise)
Setup HomeAssistant and latest zigbee2mqtt (dev).
Pair a IKEA Tradfri LED dimmer (device)
Zigbee2MQTT version
2.1.1-dev commit: 382c89c
Adapter firmware version
20240710
Adapter
UZG-01
Setup
Docker
Debug log
log.log
The text was updated successfully, but these errors were encountered: