Use pocket socket energy reporting to trigger state change?

By “state change” do you mean change the mode? Change the smart home monitor armed status? Or?

In any case, you shouldn’t need a virtual switch for this if you use Core.

If you don’t want to use Core, you can use a virtual switch, but in this case I think Core will be a little more straightforward.