From 361697a2392f141cb529a5fcf2488430dd335007 Mon Sep 17 00:00:00 2001 From: "Steven B." <51370195+sdb9696@users.noreply.github.com> Date: Fri, 3 Jan 2025 07:08:23 +0000 Subject: [PATCH] Change smartcam detection features to category config (#1402) --- kasa/smartcam/modules/babycrydetection.py | 2 +- kasa/smartcam/modules/motiondetection.py | 2 +- kasa/smartcam/modules/persondetection.py | 2 +- kasa/smartcam/modules/tamperdetection.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kasa/smartcam/modules/babycrydetection.py b/kasa/smartcam/modules/babycrydetection.py index e9e32371..ecad1e83 100644 --- a/kasa/smartcam/modules/babycrydetection.py +++ b/kasa/smartcam/modules/babycrydetection.py @@ -30,7 +30,7 @@ class BabyCryDetection(SmartCamModule): attribute_getter="enabled", attribute_setter="set_enabled", type=Feature.Type.Switch, - category=Feature.Category.Primary, + category=Feature.Category.Config, ) ) diff --git a/kasa/smartcam/modules/motiondetection.py b/kasa/smartcam/modules/motiondetection.py index 33067bdf..a30448f8 100644 --- a/kasa/smartcam/modules/motiondetection.py +++ b/kasa/smartcam/modules/motiondetection.py @@ -30,7 +30,7 @@ class MotionDetection(SmartCamModule): attribute_getter="enabled", attribute_setter="set_enabled", type=Feature.Type.Switch, - category=Feature.Category.Primary, + category=Feature.Category.Config, ) ) diff --git a/kasa/smartcam/modules/persondetection.py b/kasa/smartcam/modules/persondetection.py index 641609d5..5d40ce51 100644 --- a/kasa/smartcam/modules/persondetection.py +++ b/kasa/smartcam/modules/persondetection.py @@ -30,7 +30,7 @@ class PersonDetection(SmartCamModule): attribute_getter="enabled", attribute_setter="set_enabled", type=Feature.Type.Switch, - category=Feature.Category.Primary, + category=Feature.Category.Config, ) ) diff --git a/kasa/smartcam/modules/tamperdetection.py b/kasa/smartcam/modules/tamperdetection.py index 32b352f7..4705d36c 100644 --- a/kasa/smartcam/modules/tamperdetection.py +++ b/kasa/smartcam/modules/tamperdetection.py @@ -30,7 +30,7 @@ class TamperDetection(SmartCamModule): attribute_getter="enabled", attribute_setter="set_enabled", type=Feature.Type.Switch, - category=Feature.Category.Primary, + category=Feature.Category.Config, ) )