zone_occupancy (nightly)

Return the occupancy of a zone for a particular period of time.

// query
query Zone_occupancy(
  $limit: Int,
  $offset: Int,
  $order_by: [zone_occupancy_order_by!],
  $where: zone_occupancy_bool_exp
) {
  zone_occupancy(
    limit: $limit,
    offset: $offset,
    order_by: $order_by,
    where: $where
  ) {
    date_time
    granularity
    id
    occupancy
    site_id
    zone_id
    zone_set_id
  }
}

Last updated