I am currently working on a project that requires me to record the On/Off status of a thermostat. The thermostat I am using is GoControl Z-Wave Battery-Powered Thermostat. I have been struggling with this problem for over a week now, so any kind of help will be much appreciated.
Sorry in advance if I seem clueless, still relatively new to Home Assistant.
I have the same thermostat and can probably help with this. Are you running the thermostat off the batteries or off power from the HVAC system?
If the former, I don’t believe the thermostat reports consistently enough to get good data. That was my experience at least with the short time mine was on batteries.
If running off HVAC system power, look for an attribute in your climate entity named hvac_action
This should be “cooling”, “idle” or “heating”. You can turn this attribute into a sensor.
If you want to record the lenght of time this sensor is in each mode during the day, you can set up some history stats sensors.