mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update light.yeelight.markdown (#8049)
* Update light.yeelight.markdown Add extra configuration detail to highlight the existence of auto discovery, see "Duplication of Yeelight in 0.63 #12337" This will make it easier to add the product. * Minor changes
This commit is contained in:
parent
e959769ddf
commit
da02bc9034
@ -13,14 +13,28 @@ ha_release: 0.32
|
|||||||
ha_iot_class: "Local Polling"
|
ha_iot_class: "Local Polling"
|
||||||
---
|
---
|
||||||
|
|
||||||
The `yeelight` light platform allows you to control your Yeelight Wifi bulbs with Home Assistant.
|
The `yeelight` light platform allows you to control your Yeelight Wifi bulbs with Home Assistant. There are two possible methods for configuration of the Yeelight: Manual or Automatic.
|
||||||
|
|
||||||
### {% linkable_title Example configuration %}
|
### {% linkable_title Example configuration (Automatic) %}
|
||||||
|
After the lights are connected to the WiFi network and have been detected in Home Assistant, the discovered names will be shown in the `Light` section of the `Overview` view. Add the following lines to your `customize.yaml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example customize.yaml entry
|
||||||
|
light.yeelight_rgb_XXXXXXXXXXXX:
|
||||||
|
friendly_name: Living Room
|
||||||
|
light.yeelight_color2_XXXXXXXXXXXX:
|
||||||
|
friendly_name: Downstairs Toilet
|
||||||
|
```
|
||||||
|
|
||||||
|
### {% linkable_title Example configuration (Manual) %}
|
||||||
|
|
||||||
To enable those lights, add the following lines to your `configuration.yaml` file:
|
To enable those lights, add the following lines to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
|
discovery:
|
||||||
|
ignore:
|
||||||
|
- yeelight
|
||||||
light:
|
light:
|
||||||
- platform: yeelight
|
- platform: yeelight
|
||||||
devices:
|
devices:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user