Use component queries to select smartcamera modules (#1248)

This commit is contained in:
Steven B.
2024-11-13 10:21:12 +00:00
committed by GitHub
parent 9294845384
commit 3086aa8a20
3 changed files with 39 additions and 18 deletions

View File

@@ -7,6 +7,7 @@ from ..smartcameramodule import SmartCameraModule
class ChildDevice(SmartCameraModule):
"""Implementation for child devices."""
REQUIRED_COMPONENT = "childControl"
NAME = "childdevice"
QUERY_GETTER_NAME = "getChildDeviceList"
# This module is unusual in that QUERY_MODULE_NAME in the response is not