CR-MNZ1 switch with power monitoring

Hi. I have a CR-MNZ1 switch which registers as _TZ3000_tgddllx4 TS0001. It is a one gang switch with power monitoring. I have two weird things going on which I haven’t seen before.
First of all, although the switch is listed as a light, on the device info page it is listed as unavailable, so I can’t switch it off or on. However, I can switch it off and on using on or off commands from the “Manage Zigbee Device” dialog. So the switch and connection are fine.
Also, all of the sensors (Currrent, Voltage, Power etc) are listed as unavailable, but when I click on one, I simultaneously get an “entity is not available” message and also a correct graph of the history of the sensor. The data is also available by using the “Manage Zigbee Device” dialog.
So what is the bit I’m missing here? Why does HA believe the entity is missing when the hardware is functioning well?

In the end I wrote a quirk and that sorted me out. If anyone has this device and is experiencing the same problems, check it out here