Fix #3261: use the state the host is about to be in, not the one it's already in for power action notifications