Maybe indeed the device is not fast enough… and needs a delay.
The cause is indeed clear: see these 2 responses:
It first responds with ok on the power ON command , BUT then the following line is the status request, there it responds that the power is OFF. (first property). This is causing the flipping back in the UI. Am I right to assume that within the following +/- 30 seconds it will flip once more?