From da02bc90347b8a1620ea643b427636c0670db4d5 Mon Sep 17 00:00:00 2001 From: Br4veSt4rr <46382712+Br4veSt4rr@users.noreply.github.com> Date: Sun, 13 Jan 2019 11:02:04 +0000 Subject: [PATCH] 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 --- source/_components/light.yeelight.markdown | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/source/_components/light.yeelight.markdown b/source/_components/light.yeelight.markdown index ae047f196d1..8cb205602e2 100644 --- a/source/_components/light.yeelight.markdown +++ b/source/_components/light.yeelight.markdown @@ -13,14 +13,28 @@ ha_release: 0.32 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: ```yaml # Example configuration.yaml entry +discovery: + ignore: + - yeelight light: - platform: yeelight devices: