### What happened?
Hello,
I have a Casaia CCB432 (rail din switch in my elec…tric closet) : it let me control my water heater (on/off) and its electrical consuption (power and energy should be supported).
Product : https://www.zigbee2mqtt.io/devices/CCB432.html
I can control the on/off function.
But I can not see the instantaneous power and energy meter in home assistant :
- these 2 variable are only set once at setup (at 0W or 2000W depending on my water heater state when I set up the CCB432) and are never updated after
- I can refresh these values by manually reconfiguring the device in z2m
- values stays the same in both z2m and homeassistant (the value at setup or at reconfiguration)
- in my logs I see the right values (example below)
Example of logs in z2m :
`Debug 2023-01-21 20:12:31Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10798],"instantaneousDemand":2118}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:31Received MQTT message on 'zigbee2mqtt/Chauffe-eau/set' with data 'OFF'
Debug 2023-01-21 20:12:31Publishing 'set' 'state' to 'Chauffe-eau'
Info 2023-01-21 20:12:31MQTT publish: topic 'zigbee2mqtt/Chauffe-eau', payload '{"energy":10.79,"linkquality":255,"power":0,"state":"OFF"}'
Debug 2023-01-21 20:12:32Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10798],"instantaneousDemand":38}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:32Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
Info 2023-01-21 20:12:32MQTT publish: topic 'zigbee2mqtt/Chauffe-eau', payload '{"energy":10.79,"linkquality":255,"power":0,"state":"OFF"}'
Debug 2023-01-21 20:12:33Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10798],"instantaneousDemand":0}' from endpoint 1 with groupID null`
(chauffe-eau means water-heater, name of my device)
Pease let me know if any further info can be useful !
Thanks a lot for your great work (I love z2m associated to ha!) and for your help !
Mathieu
### What did you expect to happen?
I expected z2m and homeassistant to update the value for power and energy depending on my instaneous electric consumption (instead of being blocked on setup values)
### How to reproduce it (minimal and precise)
setup CASAIA CCB432 (with device switched off => power=0W)
monitor power and energy value in Z2M (expose tab)
switch device on and consume power throught it (power > 0>)
=> power stays in z2m monitoring at 0W
### Zigbee2MQTT version
1.29.2 commit: bb3e8f6
### Adapter firmware version
0x26660700
### Adapter
ConBee2/RaspBee2
### Debug log
Debug 2023-01-21 20:12:22Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10792],"instantaneousDemand":2139}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:23Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10793],"instantaneousDemand":2132}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:25Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10794],"instantaneousDemand":2126}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:25Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10794],"instantaneousDemand":2125}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:26Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10795],"instantaneousDemand":2115}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:27Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10795],"instantaneousDemand":2123}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:28Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10796],"instantaneousDemand":2121}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:29Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10797],"instantaneousDemand":2112}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:30Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10797],"instantaneousDemand":2117}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:31Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10798],"instantaneousDemand":2118}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:31Received MQTT message on 'zigbee2mqtt/Chauffe-eau/set' with data 'OFF'
Debug 2023-01-21 20:12:31Publishing 'set' 'state' to 'Chauffe-eau'
Info 2023-01-21 20:12:31MQTT publish: topic 'zigbee2mqtt/Chauffe-eau', payload '{"energy":10.79,"linkquality":255,"power":0,"state":"OFF"}'
Debug 2023-01-21 20:12:32Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10798],"instantaneousDemand":38}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:32Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null
Info 2023-01-21 20:12:32MQTT publish: topic 'zigbee2mqtt/Chauffe-eau', payload '{"energy":10.79,"linkquality":255,"power":0,"state":"OFF"}'
Debug 2023-01-21 20:12:33Received Zigbee message from 'Chauffe-eau', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,10798],"instantaneousDemand":0}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:47Received Zigbee message from 'Chauffe-eau', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":1,"imageType":0,"manufacturerCode":4412}' from endpoint 1 with groupID null
Debug 2023-01-21 20:12:47Device 'Chauffe-eau' requested OTA
Debug 2023-01-21 20:17:49Received Zigbee message from 'Chauffe-eau', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":1,"imageType":0,"manufacturerCode":4412}' from endpoint 1 with groupID null
Debug 2023-01-21 20:17:49Device 'Chauffe-eau' requested OTA
Debug 2023-01-21 20:22:50Received Zigbee message from 'Chauffe-eau', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":1,"imageType":0,"manufacturerCode":4412}' from endpoint 1 with groupID null
Debug 2023-01-21 20:22:51Device 'Chauffe-eau' requested OTA