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.
Have you tried a delete from HA followed by a factory reset / re-commission. Fortunately, with HA, it remembers deleted device data, so it will re-commission with the same entity names. I updated about 70 of these devices and don’t see this issue (though I’m currently using the new matterjs server beta so maybe that has something to do with it?).
I haven’t tried a full reset and recommission. I went through a bit of effort to cluster switches in similar rooms with similar matter node IDs, and I’m somewhat reluctant to break that (which, yes, is a bit silly). I might just give up at some point though. I agree that there is a decent chance that would fix it.
Yeah, the slightly-OCD part of me tried keeping nodes sequential and ordered too, but at some point, I had to replace a few devices and reset a few devices, so now its therapy re: learning not to be concerned about it!
Same here. I have about 80 Matter devices and the node numbers are all over the place. This was mainly due to beta testing. Maybe someday Home Assistant will provide device names to the Matter server so we’ll no longer need to use numbers for identification. Out of sight, out of mind.
As it turns out, the new Matterjs server does allow you to set the “Node Label” and it will then be shown in the matterjs device web page. Right now, setting that is done manually, but it would be a relatively easy Home Assistant update to allow the Matter integration to set those. I was thinking of proposing that.