From 8c2ab117e73133b30f7f01748c9150c8dd40dc3d Mon Sep 17 00:00:00 2001 From: Maurice Makaay Date: Sun, 11 Apr 2021 13:38:55 +0200 Subject: [PATCH] Fixed invalid config block in the example-full.yaml. Thanks for the notice, @davorin. --- doc/example-full.yaml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/doc/example-full.yaml b/doc/example-full.yaml index 9e0e5e4..02b0890 100644 --- a/doc/example-full.yaml +++ b/doc/example-full.yaml @@ -36,22 +36,24 @@ esphome: # components talk to the hardware via this component. Normally, you # wouldn't need to change anything in the default implementation. You # can even fully omit this element from the configuration. +# Only define this when you need different pin numbers or want to +# assign specific ID's to the pin components. yeelight_bs2: - - red_id: TheRedOne - - red: GPIO13 - - green_id: TheGreenOne - - green: GPIO14 - - blue_id: TheBlueOne - - blue: GPIO5 - - white_id: TheWhiteOne - - white: GPIO12 - - master1_id: TheFirstMaster - - master1: GPIO33 - - master2_id: TheSecondMaster - - master2: GPIO4 - - sda: GPIO21 - - scl: GPIO19 - - trigger_pin: GPIO16 + red_id: TheRedOne + red: GPIO13 + green_id: TheGreenOne + green: GPIO14 + blue_id: TheBlueOne + blue: GPIO5 + white_id: TheWhiteOne + white: GPIO12 + master1_id: TheFirstMaster + master1: GPIO33 + master2_id: TheSecondMaster + master2: GPIO4 + sda: GPIO21 + scl: GPIO19 + trigger_pin: GPIO16 # This component controls the light of the device. light: