Update a entity without triggering automations

I would love a simple to use way to update an entitys state ( in my case a thermostat and an boolean) without triggering related automations to that entity.

For example to detect local manual operation of devices.

I have for example an airco which i measure by power plug if its on, if not i want to update my thermostat entity (harmony controlled airco) to off or when its on to on without it sending the commands ( they are not even triggered by an automation but by the harmony-ac integration)