Advanced glance card - Glance Card with clickable headers and buttons

My first, small custom component which looks like a glance card but with the following extras:

  • column for buttons in the header row
  • multiple headers (left, center, right)
  • clickable headers, which can toggle an entity (e. g. a switch)
  • header colors (e. g. to visualize an item state)
  • conditional headers