mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
yeelight: Operation mode service added (#4964)
This commit is contained in:
parent
e547512307
commit
50b20f06da
@ -63,3 +63,14 @@ This component is tested to work with the following models. If you have a differ
|
||||
- **YLDD02YL**: Lightstrip (Color)
|
||||
- **MJCTD01YL**: Xiaomi Mijia Bedside Lamp - WIFI Version!
|
||||
- **MJTD01YL**: Xiaomi Mijia Smart LED Desk Lamp (autodiscovery isn't possible because the device doesn't support mDNS due to the small amount of RAM)
|
||||
|
||||
## {% linkable_title Platform Services %}
|
||||
|
||||
### {% linkable_title Service `light.yeelight_set_mode` %}
|
||||
|
||||
Set a operation mode.
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
|---------------------------|----------|---------------------------------------------------------------------------------------------|
|
||||
| `entity_id` | yes | Only act on a specific yeelight. Else targets all. |
|
||||
| `mode` | no | Operation mode. Valid values are 'last', 'normal', 'rgb', 'hsv', 'color_flow', 'moonlight'. |
|
||||
|
Loading…
x
Reference in New Issue
Block a user