I just got a Xiaomi Philips Light, the bedside model, aka Xiaomi Philips Moonlight Bedside Lamp aka philips.light.moonlight
, I got the token and have set it up for control from HA.
The component description mentions it has support for scene 1 to 4, but actually this model supports 6 scenes, according to the Xiaomi app, see below. I have verified the numbers by setting the scene in the App and checking the value in the attribute scene
in HA.
Scene number Scene name in Xiaomi App
1 Forest Bathing
2 Pink Romance
3 Sunset Glow
4 Ocean and Sky
5 Screen Reading
6 Midnight
First question, would it be possible to extend to the component so it is possible to also set scene 5 and 6 using the light.xiaomi_miio_set_scene
service?
I’m mostly interested in the Midnight one as that is the nightlight.
Second question, anyone have any idea what the other attributes that shows up are useful for?
sleep_assistant: 0
sleep_off_time: 0
total_assistant_sleep_time: 10
brand_sleep: true
brand: true
supported_features: 3