Hello,
i spent the last day figuring out how i could read out the watermeter from the youless energy module in HA. At his point it is not yet implemented in the current version of the youless integration.
So to save you some time, i used the restfull integration and added following code to the configuration.yaml:
rest:
scan_interval: 60
resource: http://<youless module IPadress>/e
sensor:
- name: "Water_teller"
value_template: "{{value_json[0].wtr * 1000 }}"
unit_of_measurement: "L"
device_class: water
state_class: total