Open ym66666 opened 3 days ago
My lights support color adjustment
2024-07-03 19:08:24.511 DEBUG (MainThread) [custom_components.xiaomi_gateway3.mqtt.192.168.31.89] {'topic': 'central/report', 'data': b'{"id":727277201,"_to":128,"type":16,"method":"properties_changed","params":[{"did":"1116431503","siid":2,"piid":4,"tid":158,"value":6205951}]}'}
I can't find the corresponding converter, so I can only use MathConv instead, but I can't choose the color.
Maybe you can try: MathConv("color", "number", mi="2.p.4", min=1, max=16777215)
First of all, thanks bro.
I tried,but it's separate and I want it to be integrated into the light
First of all, thanks bro.
I tried,but it's separate and I want it to be integrated into the light
light.py Include elif conv.attr == ATTR_HS_COLOR: self.listen_attrs.add(conv.attr) modes.add(ColorMode.HS)
so,Try to change the name from color to hs_color
The color palette appears, but has no effect and causes some abnormalities in turning on and off the lights
Homeassistant does not support the decimal color code, and the author needs to add the relevant conversion code.在 2024年7月6日,15:38,ym66666 @.***> 写道: image.png (view on web) image.png (view on web) image.png (view on web) The color palette appears, but has no effect and causes some abnormalities in turning on and off the lights
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Homeassistant does not support the decimal color code, and the author needs to add the relevant conversion code.在 2024年7月6日,15:38,ym66666 @.***> 写道: image.png (view on web) image.png (view on web) image.png (view on web) The color palette appears, but has no effect and causes some abnormalities in turning on and off the lights
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
How to support color lights? external converter No color mode