How did you do that, the integration simply found the L1 and created the entity/card to choose colors? i have it same sw_version: PSF-BTA-GL v2.9.0, but it was always a switch or light (i had to change code to make it a light) but cannot find options to choose colors.
Hi Joel, in the final version, Iâve had to create a scene to set the colour and then call it from a script to first ensure the L1 (Spiderz clone) was turned on and then set the colour. Otherwise, the scene alone still left it switched off if it was already.
Weirdly, even though the scene cannot be completed without the state: âonâ line being included, it wonât switch the L1 on if you also set a colour, hence the script to do that first.
'12345':
#strip_on_and_to_blue:
alias: Strip on and to blue
mode: single
sequence:
- data: {}
entity_id: light.sonoff_1000111111
service: light.turn_on
- scene: scene.strip_to_blue
thanks for the reply!
your script and scene only turns the light on with the last color used, it seems that my controller is simply recognized as common light.
That´s was just typo pasting to the forum and editing translating to be clearer, but the code is correct on my HA.
something new, i noticed that my entity had supported _features = 0. i changed it to 19 and the color pallete appeared, but no matter what i select, cannot change color or brightness, only on_off switch.
Can you check how many supported_features do you have?
this is so frustating hahaha, perhaps my sonoff led controller is fake or something.
No i didn´t, apparently my L1 may be a fake. even with the âsupported featuresâ HA only turns it on or off. to control colors i use alexa or ewelink app. if i want HA to change colors i need to create a scene for the color i want, then that scene is visible to HA.
I did in the meanwhile. I have a so-called L2 (still Sonoff ) and in the integration there is a small flaw. It doesnât see the L2 which I corrected. Just check if you have a L2 (you can see that in the Ewelink app) and I will send you the solution.