al-one / hass-miio-yeelink

Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
168 stars 26 forks source link

Yeelight ceiling light - moonlight mode #29

Open yotsimitsu opened 2 years ago

yotsimitsu commented 2 years ago

Thank you for the great work on this integration, I managed to get it working with my yeelink.light.ceiling5 just fine. I wanted to ask if there is any way to get the moonlight mode working as well? I can see the "NR br" that represents the moonlight mode brightness, but I don't see any way to toggle it.

stu85010 commented 2 years ago

This request is duplicated with #12 moonlight / nightmode, the night light mode could be toggled by set_ps command

Otherwise, the Yeelight API is describing theset_power with parameter mode == 5 could turn night light mode on.