[FingerBot] Keep tracking device status

Hi !

I have a thermostat that can’t be integrated in HA so I plan to buy a fingerbot to be able to switch on/off this thermostat through HA automation.

But before that, I would like to know how I could keep track my thermostat status in HA so I can know if it’s on or off.

My first idea is to create a boolean entity wich I change ste state every time the fingerbot is triggered so it’s state would be synchronize with the thermostat state.

Is there a better way to do that ?

Anybody who already did thing like that ?