HVAC status with fan and heat pump

I’ve lately become interested in monitoring my HVAC system to know when it’s fan-only (not actively heating or cooling), and I also wanted to monitor when the heat pump is doing the heating (as opposed to the furnace). I had to learn a bunch of HA stuff to figure that out, so I made some notes that might be helpful to others looking into similar things.

Updated (at the link) to include replicating something like the history-graph card to incorporate my additional climate states.