About
Yeelight is a built-in integration that controls Yeelight Wi-Fi bulbs from Home Assistant over the local network. It adds light entities, including separate ambilight and nightlight lights, along with a nightlight binary sensor. Home Assistant can discover the bulbs on the network and offer to add them, and setup is done in the UI. Options cover the model, a nightlight switch, saving status on change, transition time in milliseconds, and music mode. Actions set scenes by RGB color, HSV color, or color temperature, start a color flow, and turn a light off after a delay in minutes. Other actions set an operation mode and enable or disable music mode.
Automatic summary of Home Assistant's source code. Something wrong? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
Set up in the UI Add it in Settings, Devices and services. Nothing to download.
Found by itself Home Assistant spots it on the network and offers to add it.
Updated with Home Assistant Ships and updates with every Home Assistant release.
Provides
- Lights
Setting it up
Home Assistant usually finds it on the network and offers to add it. It can also be added by hand under Settings, Devices and services.
Connect
- HostHostname or IP address of your Yeelight Wi-Fi bulb.
Choose a device
- Device
After setup
- Model
- Use Nightlight Switch
- Save Status On Change
- Transition Time (ms)
- Enable Music Mode
Texts from Home Assistant's source code, Apache License 2.0.
Entities
- Binary sensorsNightlight
- LightsAmbilight, Nightlight
Actions
- Set auto delay off sceneTurns the light on to the specified brightness and sets a timer to turn it back off after the given number of minutes. If the light is off, it will be turned on.Fields: Brightness, Minutes
- Set color flow sceneStarts a color flow. If the light is off, it will be turned on.Fields: Action, Count, Transitions
- Set color sceneChanges the light to the specified RGB color and brightness. If the light is off, it will be turned on.Fields: Brightness, RGB color
- Set color temperature sceneChanges the light to the specified color temperature. If the light is off, it will be turned on.Fields: Brightness, Kelvin
- Set HSV sceneChanges the light to the specified HSV color and brightness. If the light is off, it will be turned on.Fields: Brightness, Hue/sat color
- Set modeSets an operation mode.Fields: Mode
- Set music modeEnables or disables music mode.Fields: Music mode
- Start flowFields: Action, Count, Transitions














