Ecobee integration - how to get comfort mode state?

I use this integration and the attribute currentProgram should tell you the current mode. It should be the same for the HE integration as well I would think.

If you go to the Ecobee device page it should list all the attributes available.