Update usb-switch template
This commit is contained in:
parent
6de9cb1d6c
commit
7151b75cf3
@ -1,7 +1,9 @@
|
|||||||
# Sinilink USB Switch Module (XY-WFUSB)
|
# Sinilink USB Switch Module (XY-WFUSB)
|
||||||
esphome:
|
esphome:
|
||||||
name: usb-switch
|
name: usb-switch
|
||||||
platform: ESP8266
|
|
||||||
|
esp8266:
|
||||||
|
restore_from_flash: true
|
||||||
board: esp01_1m
|
board: esp01_1m
|
||||||
|
|
||||||
|
|
||||||
@ -72,4 +74,4 @@ binary_sensor:
|
|||||||
mode: INPUT_PULLUP
|
mode: INPUT_PULLUP
|
||||||
inverted: True
|
inverted: True
|
||||||
on_press:
|
on_press:
|
||||||
- switch.toggle: "usb_switch_relay"
|
- switch.toggle: "usb_switch_relay"
|
||||||
|
Loading…
Reference in New Issue
Block a user