device.control.count

Operation: GET /dataservice/device/control/count

Get number of vedges and vsmart device in different control states

def get_total_count_for_device_states(
    is_cached: Optional[bool] = False, site_id: Optional[str] = None
) -> Any: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.device.control.count.get_total_count_for_device_states()