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);
}