mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
add on/off options for uart switch (#5539)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
@@ -2588,6 +2588,12 @@ switch:
|
||||
name: UART Recurring Output
|
||||
data: [0xDE, 0xAD, 0xBE, 0xEF]
|
||||
send_every: 1s
|
||||
- platform: uart
|
||||
uart_id: uart_0
|
||||
name: "UART On/Off"
|
||||
data:
|
||||
turn_on: "TurnOn\r\n"
|
||||
turn_off: "TurnOff\r\n"
|
||||
- platform: template
|
||||
assumed_state: true
|
||||
name: Stepper Switch
|
||||
|
||||
Reference in New Issue
Block a user