Zigbee power state check on demand

I want to check the instant power rating (on demand) of a power meter from the power monitoring device.
The problem is the power monitor do not updates immediately. So i dont get the original value.
As my tv only supports toggle for ir remote on/off so i have to make a decision based on power consumption.
So i want my automation work like this
If i press a switch then it will send a command to the zigbee power socket to update the power rating on homeassistant ( just to be sure that the value is refreshed) then if the value is less than 2w the ir should/shouldn’t send some command to ir devices and vice versa

What is “immediate enough?”

In z2m with my sengled plugs, I can change the reporting interval to 0 or 1 and get almost immediate updates. My guess the plug still has some internal averaging of at least a second or so. I assume the reporting interval can be set under ZHA as well, but don’t have a spare plug to try under ZHA at the moment.

EDIT: Above could be very spammy on the net. If you do so, I would probably change the minimum reported change to be at least 5 watts or so to keep minor fluctuations from spamming the net.

You should also be able to read the cluster directly using z2m or zha. For my plugs it is the “instantaneousDemand” attribute under the “seMetering” cluster. YMMV.

thank you for your reply . i am using z2m .i dont need it to automatically update the value with 1 sec interval I just need the value when i want from the device . . for example it will command the zigbee socket to send the current state only when i needed

What device?

Tuya zigbee power plug