1
0

Update usb-switch template

This commit is contained in:
Przemek Grondek 2023-11-02 17:46:55 +01:00
parent 6de9cb1d6c
commit 7151b75cf3

View File

@ -1,7 +1,9 @@
# Sinilink USB Switch Module (XY-WFUSB)
esphome:
name: usb-switch
platform: ESP8266
esp8266:
restore_from_flash: true
board: esp01_1m
@ -72,4 +74,4 @@ binary_sensor:
mode: INPUT_PULLUP
inverted: True
on_press:
- switch.toggle: "usb_switch_relay"
- switch.toggle: "usb_switch_relay"