I’m currently using auto-entities (https://github.com/thomasloven/lovelace-auto-entities) in order to create a dynamic view for each docker-container for it’s properties (based on docker-monitor component).
See the full card configuration here: https://pastebin.com/qhKE4Hp5
You can see that I have to repeat the same action for each container (e.g. sensor.cubox_deluge
) and display all it’s sensors (having the same prefix - sensor.cubox_deluge_*
) using auto-entities.
I want to create somehow an auto-entities nesting of two levels:
Instead of repeating the action for every container – i want to create an auto-entities card on the top level it selects all containers (lets say sensor.cubox_*_state
), then, it selects automatically all entities with the same prefix (e.g. sensor.cubox_deluge
and creates the data like it’s shown today in the YAML.
Could anyone help me achieve that?
Thanks