Limit the visibility of a card to a specific time

Hi there,

I have a webcam (Instar) which I have integrated into HA - works so far. Now I would like the card with which I have integrated the webcam to only appear when the alarm is triggered. This also works so far.

Question: how can I set the card so that it shows the webcam image for 30 seconds and then disappears again until the next alarm is triggered? Is there a parameter that I can set?

Thank you very much for your information

Create a template binary sensor a and use it for a visibility condition.

2 Likes

Thats it, thank u!