From aecbda72ddab09a48c88020cbfec06e81a3a54df Mon Sep 17 00:00:00 2001 From: Daniel <44697375+azrael783@users.noreply.github.com> Date: Mon, 19 Jul 2021 10:04:10 +0200 Subject: [PATCH] Corrected value for "inverted" (#1309) * Corrected value for "inverted" According to the pin schema the value for "inverted" should be true or false, but not yes. * Tweak Co-authored-by: Franck Nijhof --- components/switch/gpio.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/switch/gpio.rst b/components/switch/gpio.rst index 4b404fd34..e9b0c8291 100644 --- a/components/switch/gpio.rst +++ b/components/switch/gpio.rst @@ -59,7 +59,7 @@ To create an active-low switch (one that is turned off by default), use the :ref - platform: gpio pin: number: 25 - inverted: yes + inverted: true Momentary Switch ----------------