I'm looking for a way to visualize the state of my heat pump. It will be either:
- No Requirement
- DWH Mode
- Heating Mode
- Cooling Mode

Would it be possible to create a device that tracks the state over time, so I can see roll-up reports on how long each state was used per day, week, etc.?