How do I hack the Ecobee to control Home Assistant instead of the other way around?

Look under developer tools, states. You can watch the individual states change (see my screenshot above) you just need to drill down into each attribute.