Remove single only calls in dump_devinfo

This commit is contained in:
Steven B 2024-12-16 09:24:09 +00:00
parent cddac30479
commit c5bf3ad743
No known key found for this signature in database
GPG Key ID: 6D5B46B3679F2A43

View File

@ -75,10 +75,6 @@ ENCRYPT_TYPES = [encrypt_type.value for encrypt_type in DeviceEncryptionType]
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
SMART_SINGLE_ONLY_CALLS = {
"getConnectStatus",
}
def _wrap_redactors(redactors: dict[str, Callable[[Any], Any] | None]): def _wrap_redactors(redactors: dict[str, Callable[[Any], Any] | None]):
"""Wrap the redactors for dump_devinfo. """Wrap the redactors for dump_devinfo.
@ -628,11 +624,7 @@ async def get_smart_camera_test_calls(protocol: SmartProtocol):
request=request, request=request,
should_succeed=True, should_succeed=True,
child_device_id="", child_device_id="",
supports_multiple=( supports_multiple=(method != "get"),
method != "get"
and method[:3] == "get"
and method not in SMART_SINGLE_ONLY_CALLS
),
) )
) )