mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 10:12:52 +00:00
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>
45 lines
921 B
YAML
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
|