thomasloven / hass-lovelace_gen

🔹 Improve the lovelace yaml parser for Home Assistant
MIT License
218 stars 22 forks source link

load the metadata into a hass entity #60

Closed PeteRager closed 5 months ago

PeteRager commented 8 months ago

This pull request loads the lovelace_gen _globals metadata into a HASS entity to allow the metadata to be accessed at runtime by automations, scripts, templates, javascript, etc.

The entity created is called:

"lovelace_gen.data"

See the discussion here for examples of usage

https://github.com/thomasloven/hass-lovelace_gen/issues/57