Hi, I seem to be having issues with UI cards and custom templates.
For decluttering, I am adding the templates in lovelace\decluttering_templates
For Lovelace Minimalist, I am adding the templates in ui_lovelace_minimalst\custom_cards.
What am I missing here?
Thanks
Can someone please help explain how this works.
I have no found that the templates are stored in /homeassistant/custom_components/ui_lovelace_minimalist/ui_minimalist/ulm_templates/community_cards/custom_card_person_info/custom_card_person_info.yaml
But now I am getting this error.
I have spent a whole day trying to get this to work. Do I need to edit the attributes in the template file directly, as I tried but it reverts back to default on every reboot.
Code from the template.
variables:
ulm_card_person_use_entity_picture: false
ulm_card_person_zone1: ""
ulm_card_person_zone2: ""
ulm_address: ""
ulm_address_locality: ""
ulm_card_person_driving_entity: ""
ulm_card_person_battery_entity: ""
ulm_card_person_battery_state_entity: ""
ulm_card_person_commute_entity: ""
ulm_card_person_cummute_icon: "mdi:car"
ulm_multiline: true
and code from the card.
- type: "custom:button-card"
template: card_person_info
variables:
ulm_card_person_entity: person.lee
ulm_card_person_use_entity_picture: true
ulm_card_person_zone1: zone.uw
ulm_card_person_zone2: zone.store
ulm_multiline: true
ulm_card_person_driving_entity: binary_sensor.lee_in_car
ulm_card_person_commute_entity: sensor.uw_commute
ulm_card_person_commute_icon: mdi:bus
ulm_card_person_battery_entity: sensor.lees_phone_battery_level
ulm_card_person_battery_state_entity: sensor.lees_phone_battery_state
Do I need to enter the values in both the card and the template?
Would really appreciate some help on this one.