surveillance-card icon indicating copy to clipboard operation
surveillance-card copied to clipboard

Allow a group or jinja2 template as a list of camera entities

Open bsfaxi opened this issue 3 years ago • 2 comments

Hi, The configuration of the card allows only a specific list of camera entities. So, is it possible to make a enhancement in order to allow instead a group or a jinja2 template that could populate the list of required camera entities? Thanks in advance. Bilel

bsfaxi avatar Aug 30 '21 16:08 bsfaxi

I'm not sure how that would work, how would you associate a camera and motion entity?

niemyjski avatar Oct 10 '22 14:10 niemyjski

I've done something similar to what I think OP was trying to accomplish with https://github.com/thomasloven/lovelace-auto-entities. Of course, using that approach I lose the ability to associate motion entities, but I don't have to maintain the camera list by hand.

BruceHowells avatar Sep 10 '23 06:09 BruceHowells