Mushroom Cards - Build a beautiful dashboard easily šŸ„ (Part 1)

Can someone explain to me how the primary_info and secondary_info works on Entity cards?

For instance I have a card that has a motion sensor on it… I’d like the battery % to show up on the card also. I’ve tried a couple things but just get errors…

I see you can use ā€˜state’ on either but can I or should I also specify an entity for that?
I’m getting errors and ui won’t load when I try this… perhaps I’m just not understanding how it’s supposed to work.

Thank you!

- type: horizontal-stack
            cards:
              - type: custom:mushroom-entity-card
                entity: binary_sensor.front_room_motion_occupancy
                icon: mdi:account
                name: Motion Sensor
                style: |
                  ha-card {                     
                    background-color: rgba(255, 255, 255, .1);
                  }