Northq NQ-9121 Gas meter - Energy dashboard

I have a NorthQ NQ-9121 Gas meter.
I can select is as a source for gas consumption in the energy configuration of HA.
However, when I do so I get folowing error:

Unexpected unit of measurement
The following entities do not have the expected units of measurement ‘kWh’, ‘m³’ or ‘ft³’:

  • sensor.northq_nq_9121_gas_meter_gas_2 (Cubic meters)

Developer tools States for the entity:
state_class: total_increasing
meter_type: 2
meter_type_name: GAS
unit_of_measurement: Cubic meters
friendly_name: NorthQ NQ-9121 Gas Meter Gas
device_class: energy

I can manually set the state of unit_of_measurement to m³, however, each time the device gets polled, it is reset to Cubic meters.

Could someone look into this? @Frenck

P.

It may be too late, but I just bought the same device and cannot add it to the energy dashboard out of the box either.
I was able to work around this issue by declaring a template sensor in configuration.yaml to have the proper parameters for correct statistics computation.
Here is my config:

template:
  - sensor:
      - name: "Conso gaz"
        unit_of_measurement: "m³"
        state_class: total_increasing
        device_class: gas
        state: "{{ states.sensor.northq_gas_meter_gas_consumption_cubic_meters.state }}"
        unique_id: "0e564a2b1013f7e3a77f74038077128n"

Hope this helps.

1 Like