Just wondered if it was possible to access the thermostat’s energy history? or another thought I had was if I could access weather the nest is actively heating or actively cooling. Like the if the thermostat or app would have a black red or blue background.
Access Nest Thermostat Energy Usage History OR access Active state (activly heating or activly cooling)
Unfortunately you cannot access the energy history from the API. On the other note, you can get info on whether Nest is actively heating or cooling by looking at the hvac_state field. It will indicate whether the thermostat is actively heating/cooling or is off (same as you see the red, blue and black colors in the app or on the thermostat itself).
Hope this helps