Hello, I have two Foscam FI9902P IP cameras at home and I would like to temporarily deactivate them using automation. If one of us is at home, we shouldn’t be able to access the stream via HA. For example, can you deactivate an entity via an automation and then activate it again later via an automation? I’ve already tried it with camera.turn_off, but unfortunately without success.
Well, if you take it literally and a HA automation can turn it off, then I would say it is impossible. What is keeping the user from undoing what the automation did? The rights system is not very advanced.
If you mean not display it on a dashboard to thwart casual users, a conditional card to hide the UI would suffice. It would also look nicer than a card with a deactivated camera. If you lack a place to keep the enabled state, a boolean input helper would be the way to go.