Files
esphome/tests/components/ufm01/common.yaml
86192d89f4 [ufm01] Improve stale recovery, add diagnostics and clear flow action (#18899)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2026-10-11 09:29:56 -10:00

45 lines
921 B
YAML

ufm01:
id: ufm01_component
uart_id: uart_bus
sensor:
- platform: ufm01
accumulated_flow:
id: accumulated_flow
name: "Accumulated flow"
flow:
id: flow
name: "Flow"
temperature:
id: temperature
name: "Temperature"
binary_sensor:
- platform: ufm01
ufc_chip_error:
id: ufc_chip_error
name: "UFC chip error"
flow_direction_wrong:
id: flow_direction_wrong
name: "Flow direction wrong"
empty_tube:
id: empty_tube
name: "Empty tube"
flow_rate_out_of_range:
id: flow_rate_out_of_range
name: "Flow rate out of range"
text_sensor:
- platform: ufm01
meter_id:
id: ufm01_meter_id
name: "Meter ID"
software_version:
id: ufm01_software_version
name: "Software version"
script:
- id: ufm01_clear_accumulated_flow
then:
- ufm01.clear_accumulated_flow: ufm01_component