mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
Rename SERIAL_PROXY_MODE_EZSP_ASH to SERIAL_PROXY_MODE_PROTOCOL so the serial_proxy API surface carries no protocol-specific names. The mode now means "the port's tap is active"; which protocol the tap speaks is a property of the device configuration, discoverable from the tap component's own API surface. Future protocol taps need no serial_proxy or API changes.
24 lines
378 B
YAML
24 lines
378 B
YAML
esphome:
|
|
name: test
|
|
|
|
wifi:
|
|
ssid: test
|
|
password: password
|
|
power_save_mode: none
|
|
|
|
api:
|
|
|
|
uart:
|
|
- id: zigbee_uart
|
|
tx_pin: ${tx_pin}
|
|
rx_pin: ${rx_pin}
|
|
baud_rate: 115200
|
|
|
|
# The port owns the UART and carries every byte; zigbee_proxy only taps it
|
|
serial_proxy:
|
|
- id: zigbee_serial
|
|
uart_id: zigbee_uart
|
|
name: Zigbee
|
|
port_type: TTL
|
|
mode: protocol
|