Fix issue where removing the AI camera integration would fail

Github

Github
dashboard
This update fixes an issue where removing an AI camera would fail and keep the camera integration.
This update fixes an issue where removing an AI camera would fail and keep the camera integration.