That only happens when actuating socket '1' on the power strip, the one closest to the physical on/off button.
As socket 1 and the global on/off both report as endpoint 01 (a firmware bug in my opinion) the platform has no way of knowing whether the message it has received came from a confirmed socket 1 switch or a global on/off, so a check on all sockets' status is the only way to confirm. This only occurs when the command received is 0A, which is the only command that the local button generates in the power cluster. Other actuation reports should come through as command 01, so there the refresh() is unnecessary and not performed.
It tells me whether the device has dropped from the mesh, either through a fault or (more likely) that someone has turned it off using the physical mains switch instead of pushing the button on top of the smart plug.
I have presence detection on every device, any change generating a Pushover message to let me know. So I'll get "Lidl Plug is not present on the accessories mesh." if I turn the power off to it. Also really useful for telling me when a device's battery has completely died. Got to squeeze out every last milliamp!