File “/usr/lib/python3.4/colorsys.py”, line 146, in hsv_to_rgb
i = int(h6.0) # XXX assume int() truncates!
TypeError: can’t multiply sequence by non-int of type ‘float’
And here:
transition: 1000
I’m guessing that for whatever reason the transition variable needs to be less than 4 digits. Try setting it to 999.
I can confirm my config is working on 0.50.2 … but it is a YLDD02YL, I am not sure the difference between the two light strips and what might have changed in the updates.
Thanks. I have tried remove the music mode and save on change part from yaml flie, but no, it just refused to work.
And I have also read the other thread, but my situation is different from hers. At least she can turn on/off the light, but mine did not even show up at the frontend.
UPDATE - just hard reset my Pi3 and now they no longer work. Here’s my error:
2017-08-03 07:18:46 ERROR (SyncWorker_6) [homeassistant.components.light.yeelight] Failed to connect to bulb 10.10.10.22, office_light_strip: A socket error occurred when sending the command.
I updated to 0.50.2 from 0.50.1, and my lightstrips are still working normally, even after a reboot of the Pi3. I added use_music_mode: true to my config and it works even better (prior to that, using Effects would cause connectivity failure).
Well this is interesting. So I decided to try and ping my light from the hass.io box. nope… can’t reach it. Then pinged it from my local computer. Yep… works fine. Tried pinging my smartthings hub from hass.io… yep… works fine. Hass.io can’t reach the lights. What the heck? same network… but can’t ping them.
That’s very interesting. The staffs just replied me that they never produce a light strip whose model is YLDD02YL. I sent the Amazon Link to them and wait for the reply. I also check the overseas version (YLDD02YL) again. I think there is no difference besides YYDD02YL shipped with an adapter.
Perhaps YLDD02YL is the model that is exported outside of China via Xiaomi to comply with international regulations and the Yeelight staff that responded is unfamiliar with these exported models.
Just got my Yeelight strip from Amazon today and it is the YLD02YL version. I set it up and had some issues with it at first (it would only turn on or off, I couldn’t change the brightness or the color). After I upgraded the firmware on the light through the Yeelink app the weirdness went away and it functions like a normal RGB bulb.