github gadgetchnnel/lovelace-card-templater 0.0.6b3

latest releases: 0.1.0-alpha3, 0.1.0-alpha2, 0.1.0-alpha1...
pre-release4 years ago

Fix for entities for cards like auto-entities being overridden

Cards like auto-entities were having the entities in their child card overridden by the entities from card-templater. This was the result of code which sets the entities collection of entities and glance cards without entities defined from the templated entities. This fix updates the logic to only do this one card deep (e.g. if you are directly templating an entities card)

Expose user and page path as variables when templating

The following variables are now available in templates:

  • user.name - the name of the current user
  • user.is_admin - whether the current user is an admin
  • user.is_owner - whether the current user is the owner
  • page.path - the path name of the current page (e.g. /lovelace/home)

Don't miss a new lovelace-card-templater release

NewReleases is sending notifications on new releases.