#Set the entity using an input_select
1 messages · Page 1 of 1 (latest)
you could make a card for each camera and have them set to only be visible when the input select is set to them.
that way whilst they are all technically there the user can only see 1 at a time. and you can give them friendly names in the input select too
Definitely an option, really thought there was a way to set entity dynamically, am I mistaken? I thought I did that in a template somewhere.
i dont think you can set a cards entity dynamically like that
in the documentation it does seem to imply you can set multiple streams and it has a way to switch
Nice, thanks for the help I'll read up and holler back if any questions.
not sure how it would work with entities. you might need to put the streams in directly. worth a look at though
not a big deal I do have all the stream info, just extra. As long as it's one card though I don't mind.
It really just depends on the card. Core frontend cards no, but some custom cards support templating.
that's likely what I remember then. the multiple streams works on the card just don't know how to set one active or not 😛
could maybe add a fake stream option that would fail to load. that might give you a blank feed if you want "no camera"
your first solution sounded best, well slightly modified. I just used 7 conditional cards.
then I can just match the text from my input_select to conditional state
show the appropriate card and viola same result and it's static number so not a big deal
There is also the "Tabbed Card" on HACS I suppose
could have a camera card within each tab
https://github.com/kinghat/tabbed-card
That's nifty too.
the inputselect method has the benifit of being able to automate the change though. e.g. if doorbell pressed switch to front camera
probably best to try a few things and see how you get on
wife wants to be able to click a camera (touchscreen) to make it the live view
so wife wants wife gets if I can do it lol
gotcha
so clicking sets the input_select which will then conditionally show the right webrtc card