Firmware bug: null ActivePower and CumulativeEnergyImported

Just going to post this as a separate thread so it doesn’t get lost. After upgrading to 1.1.5 I have 3 switches where ActivePower & CumulativeEnergyImported are seemingly permanently stuck at null, so the Energy features in Home Assistant aren’t working with these three switches.

It’s not a huge deal, but it seems like a bug, so something to look at for a future update.

Possibly a long-shot, but … could it be a Home Assistant issue? If you haven’t already checked it, then I suggest you go to the Matter Server app’s web interface, find the node, and check the Electrical Sensor endpoint (7), and look at the PowerMeasurement Cluster, ActivePower attribute and ElectricalEnergyMeasurement cluster, CumulativeEnergyImported attributes to see if they are null, or if they have a value.

Might also be an issue with the energy measurement database. Try going to Developer Tools → Statistics and see if there are any “Fix issue” entries and, if so, click the Fix issue or select all the entities and delete all their statistics to do a full database reset.