-
Notifications
You must be signed in to change notification settings - Fork 9
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
Invalid supported color modes #19
Comments
Would you please call the dump_json function (indicated in the wiki) , that would help resolve the issue. |
@sanjoyg I send it below |
thank you, the JSON seems correct. Can you enable the debug mode of the integration and send in logs around when the error across |
Also curious do you see the bulbs come up in the integration as devices and are you able to operate them |
@sanjoyg I see w few of those in debug mode
I think it is correlated with this change
Yes, I am able. That is why I've installed this integration. I have 7 IKEA bulbs in my home assistant through this integration. |
In your logs I dont see any error coming up so am not sure if you are encountering an issue. Implemented the color_mode property as well and released a new version. Please let me know if that works for you. |
I had to came back to version 1.3.4 to make them work again |
Oh… can u attach the debug log as well. Need to see what is causing it
…On Sat, 23 Mar 2024 at 20:37, oat1 ***@***.***> wrote:
I had to came back to version 1.3.4 to make them work again
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2X3CQ4JP2VQVOA67K3ZZLYZWLD3AVCNFSM6AAAAABFDL6IDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGUYTSNZZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
`Rejestrator: homeassistant.components.light Error adding entity light.swiatlo_4 for domain light with platform dirigera_platform Error adding entity None for domain sensor with platform dirigera_platform |
Thank you.. am on the road so unable to test with real device. Pushed a release please do try it |
Thank you for your involvement :) After installing vers 1.3.4.2 Lights are working again but I get now a new error `Rejestrator: homeassistant.components.sensor Error adding entity None for domain sensor with platform dirigera_platform Also below did not change: `Rejestrator: homeassistant.components.light None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform` `` |
@sanjoyg But according to documentation, if you allow ColorMode.BRIGHTNESS , This mode must be the only supported mode if supported by the light. I think that maybe only allowing supported_color_modes: color_temp could resolve the issue |
Thank you , made the change as per that. Do have try it. |
It helped ! I don't see this error any more :) Just this one remains `Rejestrator: homeassistant.components.sensor Error adding entity None for domain sensor with platform dirigera_platform |
This one is wierd. can you enable debug and push some lines before and after this error |
@sanjoyg |
Try the new release, it add debug statement. Do paste the debug log similar to what you pasted earlier that will help resolve the issue |
@sanjoyg |
and the json |
Found the issue and have it fixed now in the latest release |
once resolve do close the issue |
confirm it is fixed thanks :) |
I get below message in HA logs
The text was updated successfully, but these errors were encountered: