Open aperezva opened 1 year ago
Hi,
In 2022.11 there is a new feature to monitorize Water consumption, but sensor that this integration generated are not in the available list of sensors.
Any solution to fix it?
Thanks
I second this ;) Would be much appreciated.
Fix it.
We must to include in the sensor the attribute: state_class: "total"
But it's a pity don't have a authorized integration like other solution have as a flume etc.
We will alive with this manual integration, at least it's an amazing work in this circumstance.
As a workaround, add code into configuration.yaml:
homeassistant: customize_glob: sensor.your_name_of_sensor_1_day: last_reset: '1970-01-01T00:00:00+00:00' device_class: water state_class: total_increasing
and update last reset with automation by midnight.
Hi @autopower thanks.
I just fighting with this. If I use senosr_1_day at the midnight I have negative numbers because sensors is reset to 0.
What can we do to keep numbers because window between 0 hours a 1 am result is negative like the same number that sensor finish day after.
Thanks.
Hi @autopower thanks.
I just fighting with this. If I use senosr_1_day at the midnight I have negative numbers because sensors is reset to 0.
What can we do to keep numbers because window between 0 hours a 1 am result is negative like the same number that sensor finish day after.
Thanks.
@autopower last_reset attribute is deprecated, and we can not use it. tht´s the problem taht every mignight I have peak in the comsuption, when sensor becomes 0
I have this in my configuration yaml and it seems to be working (i don't have the integration in HA but in openhab and just copy the value here..)
template:
- sensor:
- name: "Wasserverbrauch"
state_class: total_increasing
device_class: water
unit_of_measurement: "m³"
state: "{{ states('sensor.0_1_5_grohesenseguardgerat_waterconsumption') }}"
I have this in my configuration yaml and it seems to be working (i don't have the integration in HA but in openhab and just copy the value here..)
template: - sensor: - name: "Wasserverbrauch" state_class: total_increasing device_class: water unit_of_measurement: "m³" state: "{{ states('sensor.0_1_5_grohesenseguardgerat_waterconsumption') }}"
Hey werden die daten denn an Homeassistant übermitelt? How did you send the data to HA?
Hey werden die daten denn an Homeassistant übermitelt? How did you send the data to HA? Dafür gibt es ja eine OpenHab Integration https://community.home-assistant.io/t/custom-component-openhab-integration/373942
Hey werden die daten denn an Homeassistant übermitelt? How did you send the data to HA? Dafür gibt es ja eine OpenHab Integration https://community.home-assistant.io/t/custom-component-openhab-integration/373942
Ive tryed that one… i just get data of pressure, temperature and a switch for the valve to Homeassistant, so im missen the consumption of the water … dunno why and im a newbe with openhab. I find out that the dveloper of that integration passed out ….sry for https://github.com/kubawolanin/ha-openhab/issues/created_by/Knobiwahn
Hi,
In 2022.11 there is a new feature to monitorize Water consumption, but sensor that this integration generated are not in the available list of sensors.
Any solution to fix it?
Thanks