1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-16 16:53:47 +01:00
Files
esphome/tests/components/wk2204_i2c/common.yaml
2025-10-12 07:21:45 +13:00

28 lines
563 B
YAML

wk2204_i2c:
- id: wk2204_i2c_id
i2c_id: i2c_bus
address: 0x70
uart:
- id: wk2204_id_0
channel: 0
baud_rate: 115200
stop_bits: 1
parity: none
- id: wk2204_id_1
channel: 1
baud_rate: 19200
- id: wk2204_id_2
channel: 2
baud_rate: 115200
stop_bits: 1
parity: none
- id: wk2204_id_3
channel: 3
baud_rate: 9600
# Ensures a sensor doesn't break validation
sensor:
- platform: a02yyuw
uart_id: wk2204_id_3
id: distance_sensor