How to paste it
Dashboard → pencil (Edit) → Add card → any card → Show code editor → paste the YAML. Mushroom cards are custom: install Mushroom from HACS first. Test the templates of a Mushroom template card: template tester.
Smart home
Build the YAML of a Home Assistant dashboard card: tile, entities, glance, gauge, history-graph and Mushroom cards. Several entities become a grid. Paste it into the card editor (Show code editor).
Dashboard → pencil (Edit) → Add card → any card → Show code editor → paste the YAML. Mushroom cards are custom: install Mushroom from HACS first. Test the templates of a Mushroom template card: template tester.