mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-12 20:10:50 +01:00
Add Sonoff S20 complete example
This commit is contained in:
parent
e238eb4e54
commit
d417d528ca
@ -294,6 +294,8 @@ in Home Assistant, replace the last part with this:
|
||||
name: "Sonoff S20 Relay"
|
||||
output: s20_relay
|
||||
|
||||
To make pressing the button on the front toggle the relay, have a look at the `the complete Sonoff S20
|
||||
with automation example <https://github.com/OttoWinter/esphomeyaml/blob/master/examples/sonoff_s20.yaml>`__.
|
||||
|
||||
Upload the firmware again (through OTA or Serial) and you should immediately see
|
||||
something like this in Home Assistant because of esphomeyaml's automatic MQTT discovery. (You'll
|
||||
|
Loading…
Reference in New Issue
Block a user