Fix GPIO link in blog post (#14936)

#14663
This commit is contained in:
TopdRob 2020-10-06 11:12:24 +02:00 committed by GitHub
parent 82d5a8b02c
commit 7e242f0d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ At this point, you can already flash the firmware. To do this, first plug in the
## Adding some basic functionality
Above configuration is, lets face it, pretty dull. It really only connects to WiFi and MQTT and sits idle. So lets add a basic [GPIO switch](https://esphomelib.com/esphomeyaml/integrations/switch/gpio.html)! The GPIO switch component in esphomelib allows you to control the ON/OFF state of any of the pins on your ESP. For example, if you add this configuration to the bottom of your YAML file, youre setting up the pin `GPIO5` to be controlled as a switch with the name "Living Room Dehumidifer".
Above configuration is, lets face it, pretty dull. It really only connects to WiFi and MQTT and sits idle. So lets add a basic [GPIO switch](https://esphome.io/components/switch/gpio.html)! The GPIO switch component in esphomelib allows you to control the ON/OFF state of any of the pins on your ESP. For example, if you add this configuration to the bottom of your YAML file, youre setting up the pin `GPIO5` to be controlled as a switch with the name "Living Room Dehumidifer".
```yaml
switch: