async def METHOD_NAME(proxy_cloud_connections=True):
    """Send checkin using either proxy or direct to cloud connection"""
    chan = ServiceRegistry.get_rpc_channel(
        'state',
        ServiceRegistry.CLOUD,
        proxy_cloud_connections=proxy_cloud_connections,
    )
    client = StateServiceStub(chan)
    # Construct a simple state to send for test
    value = json.dumps({"datetime": datetime.datetime.now()}, default=str)
    states = [
        State(
            type="string_map",
            deviceID=snowflake.snowflake(),
            value=value.encode('utf-8'),
        ),
    ]
    request = ReportStatesRequest(states=states)
    timeout = 1000
    await grpc_async_wrapper(client.ReportStates.future(request, timeout))