Milight hub white color automation

Hi,
I have an rgbw led stip connected to a milight controller. It is then connected to a sidoh esp8266 hub which in turn is connected to my Home Assistant. I am creating an automation which will turn the strip on and I would like to put the color to white. I read options where you use white_value but I can’t get it to work.

Has anyone an idea how to make it work?

This is I have now:

Nobody knows this? :smile: Somebody must have encountered this…

Well, if you don’t look in the right place you won’t find it :slight_smile:

Try this service call (it will allow you to both set white mode and the color temperature, if your light supports it). AFAIK HA doesn’t allow sending both RGB and color_temp.

      - service: light.turn_on
        data_template:
          effect: "white_mode"
          entity_id: light.strip_slaapkamer_bed
          brightness: 50
          color_temp: 50

Check also my posts here, as I have Milight with ESPMH Controlling lights with both motion sensors and smart switches (optional light threshold)

:partying_face: Thanks Petrica. I did look allot, the right place might have been the problem :rofl:
I did find parts of the code you have posted but could not get it to work. Now it worked!
I am going to look at the link you gave, looks interesting.

greetings