Open nlindblo opened 1 year ago
hi, you have to reconfig the device as explained here : https://github.com/fairecasoimeme/ZiPulses#z2m
I actually had followed the instruction for the reconfiguration, but to confirm I re-paired the device and did it another time and now the values seem to come through in the right decimal format. However, the energy sensor does still not have a UnitOfMeasurement or device_class, is this supposed to be configured manually or come from Z2M ? These are the sensors that have been created
Edit: HA version is 2023.6 and Z2M is 1.31.2
Can confirm the behaviour. If you're using Home Assistant, workaround is to create another device in HA config file:
template:
- sensor:
- name: "Gas_meter"
unit_of_measurement: "m³"
device_class: "gas"
state_class: "total_increasing"
state: "{{ states('sensor.compteur_gaz_energy')|float }}"
availability: "{{ states('sensor.compteur_gaz_energy') not in ['none', 'unknown', 'unavailable'] }}"
Hello,
I have installed Zipulses in my Gazpar meter and configured zigbee2mqtt in a way that I believe is correct. I am receiving pulses but the values are in whole numbers and the energy sensor does not have a unitOfMeasure, meaning I dont seem to be able to add it to the Energy dashboard. Here is my configuration and output if someone have an idea of where I am going wrong, my objective would be to have the numbers to come in as m3 into HA, is there any further configuration I need to do ?
Apologies for writing in English as I'm not French speaking, feel free to respond in French and I will Google translate