mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Clarification of formatting and options (#1759)
Added main component (light:) as many are missing this requirement when adding the yeelights to their config files. Also expanded the example config to include two entries, also to demonstrate proper config setup for this platform.
This commit is contained in:
parent
35f839b379
commit
b9fc2c3f17
@ -18,10 +18,13 @@ To enable those lights, add the following lines to your `configuration.yaml` fil
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
- platform: yeelight
|
||||
light:
|
||||
platform: yeelight
|
||||
devices:
|
||||
192.168.1.25:
|
||||
name: palier
|
||||
name: Front Door
|
||||
192.168.1.13
|
||||
name: Living Room
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
Loading…
x
Reference in New Issue
Block a user