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
49d7f23f4f
commit
6ce3ab93b3
1 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue