mirror of
https://github.com/esphome/esphome.git
synced 2026-11-05 12:46:00 +00:00
A packet interface moves packets over a channel, with a uart link and a packet_transport platform that uses any packet interface. Later layers stack on the same base class. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
319 B
YAML
16 lines
319 B
YAML
packet_interface:
|
|
- platform: uart
|
|
id: packet_interface_uart
|
|
max_packet_size: 256
|
|
|
|
sensor:
|
|
- platform: template
|
|
id: packet_interface_sensor
|
|
lambda: return 1.0;
|
|
|
|
packet_transport:
|
|
- platform: packet_interface
|
|
packet_interface: packet_interface_uart
|
|
sensors:
|
|
- packet_interface_sensor
|