Sinopé SP2600ZB and wrong summation delivered not in watts

Hello!

I have a few Sinopé switches, model SP2600ZB. I’m quite happy with them but one is not reporting the summation delivered like the others.

All of them are reporting in W, while for this specific one, the W is not shown. Of course when I try to add it in the energy dashboard, it does not show anything.

Is there anything I can do to fix that?

I tried to delete the device and reconnect it, it still does the same thing.

Here is the Zigbee signature.

{
  "node_descriptor": {
    "logical_type": 1,
    "complex_descriptor_available": 0,
    "user_descriptor_available": 0,
    "reserved": 0,
    "aps_flags": 0,
    "frequency_band": 8,
    "mac_capability_flags": 142,
    "manufacturer_code": 4508,
    "maximum_buffer_size": 82,
    "maximum_incoming_transfer_size": 82,
    "server_mask": 0,
    "maximum_outgoing_transfer_size": 82,
    "descriptor_capability_field": 0
  },
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0051",
      "input_clusters": [
        "0x0000",
        "0x0003",
        "0x0006",
        "0x0702",
        "0x0b04",
        "0x1000",
        "0xff01"
      ],
      "output_clusters": [
        "0x0019",
        "0x1000"
      ]
    }
  },
  "manufacturer": "Sinope Technologies",
  "model": "SP2600ZB",
  "class": "zhaquirks.sinope.switch.SinopeTechnologiesSwitch_V2"
}

Also a screenshot

Hello!

So I have fixed my issue by customizing my sensor in a customize.yaml file. Here is what I did:

First I created a customize.yaml file with the following content:

  device_class: energy
  state_class: total_increasing
  unit_of_measurement: kWh
  friendly_name: "Foyer Summation Delivered"
  zcl_unit_of_measurement: 0

Second I enabled it in my main configuration.yaml:

homeassistant:
  customize: !include customize.yaml

Now the state of the sensor is identical to my other sinopé devices: