From 7b099ca887eeab53712c32acadc2f725862f5b5d Mon Sep 17 00:00:00 2001 From: Abdul Samad Date: Thu, 18 Dec 2025 10:09:37 -0600 Subject: [PATCH] Add motionSensor condition, and imageCapture action --- .../matter-switch/profiles/camera.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/SmartThings/matter-switch/profiles/camera.yml b/drivers/SmartThings/matter-switch/profiles/camera.yml index b7c8d8be34..7a46099cf6 100644 --- a/drivers/SmartThings/matter-switch/profiles/camera.yml +++ b/drivers/SmartThings/matter-switch/profiles/camera.yml @@ -111,6 +111,16 @@ deviceConfig: capability: imageCapture version: 1 value: image.value + overlayIcons: + - iconUrl: "res://ic_camera_motion_detected" + visibleCondition: + component: main + capability: motionSensor + version: 1 + value: motion.value + valueType: string + operator: EQUALS + operand: "active" detailView: - component: main capability: webrtc @@ -118,11 +128,21 @@ deviceConfig: - component: main capability: mechanicalPanTiltZoom version: 1 + - component: main + capability: motionSensor + version: 1 automation: + conditions: + - component: main + capability: motionSensor + version: 1 actions: - component: main capability: videoCapture2 version: 1 + - component: main + capability: imageCapture + version: 1 dpInfo: - os: ios dpUri: "storyboard://HMVSController/HMVSViewController"