Lovelace: hide/show entities based on state of other entities, within a card

This is what I use it for: