# Yeelight - Node-red

**URL:** <https://discourse.nodered.org/t/yeelight-node-red/33997>\
**Category:** General\
**Created:** [9 October 2020 13:05 UTC](https://discourse.nodered.org/t/yeelight-node-red/33997 "2020-10-09T13:05:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sir\_SiegfriedS](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sir\_SiegfriedS](https://discourse.nodered.org/u/Sir_SiegfriedS)\
**Post date:** [9 October 2020 13:05 UTC](https://discourse.nodered.org/t/yeelight-node-red/33997/1 "2020-10-09T13:05:06Z")

</div>

Hey there, i'm a new user in node-red, and an user of home-assistant

Can i found help in this forum for controlling Yeelight with node-red ?

I have a multiple switch in zigbee2mqtt, and i want to configurate each out with one fonction.

single clic would change the light to white rgb 255,255,255 and kelvin to 6500 and brightness to 100  
I want to use this clic to shutdown too the light if she is on .

And in doble clic, i have put only a red color scène.  
My problem is : If i use the red color, i can only shutdown the light, and when i turn her on again she is still red....

That's my flow, it's really simple. I'm beginer ( and french sorry about my english quality of talking )

 ![test123](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/b/0bc44912fdc10ff0cbaa6ebe010ae7505e2c7b8a.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 December 2020 13:05 UTC](https://discourse.nodered.org/t/yeelight-node-red/33997/2 "2020-12-08T13:05:07Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
