diff --git a/tests/components/ebus/test.esp32.yaml b/tests/components/ebus/test.esp32.yaml new file mode 100644 index 0000000000..df49269859 --- /dev/null +++ b/tests/components/ebus/test.esp32.yaml @@ -0,0 +1,37 @@ +ebus: + primary_address: 0x00 + history_queue_size: 32 + command_queue_size: 16 + poll_interval: "15s" + uart: + num: 1 + tx_pin: 33 + rx_pin: 32 + +sensor: + - platform: ebus + sensors: + - name: "Water Pressure" + id: zebus_water_pressure + telegram: + destination: 0x03 + command: 0xb509 + payload: [0x0d, 0x02, 0x00] + decode: + position: 0 + bytes: 2 + divider: 1000.0 + device_class: "pressure" + unit_of_measurement: bar + state_class: "measurement" + accuracy_decimals: 3 + internal: false + filters: + - clamp: + min_value: 0 + max_value: 4 + ignore_out_of_range: true + - median: + window_size: 5 + send_every: 3 + send_first_at: 3