Skip to content

Commit 6ce3ab9

Browse files
SilvrrGITfabaff
SilvrrGIT
authored andcommitted
Clarification of formatting and options (home-assistant#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.
1 parent 49d7f23 commit 6ce3ab9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/_components/light.yeelight.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ To enable those lights, add the following lines to your `configuration.yaml` fil
1818

1919
```yaml
2020
# Example configuration.yaml entry
21-
- platform: yeelight
21+
light:
22+
platform: yeelight
2223
devices:
2324
192.168.1.25:
24-
name: palier
25+
name: Front Door
26+
192.168.1.13
27+
name: Living Room
2528
```
2629
2730
Configuration variables:

0 commit comments

Comments
 (0)