@ifixcoinops Mitsubishi ductless mini-split heat pumps have models with motion sensors.

Could just use a zwave or ZigBee plug or even X-10 with a motion senor. There are probably also plugs with motion sensors built in.