Browse Source

Update example.yaml

Add 'id: ${name}' to light section of the example configuration
pull/5/head
Maarten Hostyn 3 years ago
committed by GitHub
parent
commit
0c416f96a3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      doc/example.yaml

+ 1
- 0
doc/example.yaml View File

@ -48,6 +48,7 @@ esphome:
# This component controls the light of the device. # This component controls the light of the device.
light: light:
- platform: yeelight_bs2 - platform: yeelight_bs2
id: ${name}
name: ${friendly_name} RGBW Light name: ${friendly_name} RGBW Light
default_transition_length: ${transition_length} default_transition_length: ${transition_length}
# You can use any effects that you like. These are just examples. # You can use any effects that you like. These are just examples.


Loading…
Cancel
Save