Input Boolean Device Tracker

This is probably easy but I can not seem to figure it out, any help would be apprcieated. owntracks has been unreliabel and I want to create an automation so that when my ecobee goes to away it switches my input boolean to away and in turn sets my house away. Then vice versa. I can not seem to see how I can set the input boolean to change my satus from home/away…im assuming i need to change a device tracker but that itself could be wrong…

I am not sure what your ecobee is, but if it uses IP you could just use the ping presence detector

Ecobee is my thermostat. I ended up putting an input Boolean in homebridge and having iOS flip that switch and ha monitors that for home/away