jcwillox / lovelace-canary

🐤 Adds many useful extensions to lovelace, such as templating secondary info, stacking within a card and more!
MIT License
97 stars 4 forks source link

secondary_info with #17

Open girlpunk opened 3 years ago

girlpunk commented 3 years ago

Hi, is it possible to use a secondary_info with an entity card?

For example:

type: entity
entity: sensor.daily_energy
name: Energy Usage Today
secondary_info: Enough to charge {{ states('sensor.daily_energy') }} phones
jcwillox commented 3 years ago

Unfortunately no, secondary_info is only available for entity-rows which already provide the secondary_info option. Canary effectively just gives you the ability to set that secondary info option using a template.