export const CONSUMER_OPTIONS = [
  {
    value: "category1",
    title: "Forecasting",
    selectable: false,
    children: [
      {
        value: "prob1",
        title: "No heating in the building",
      },
      {
        value: "prob2",
        title: "Leaking pipes in the entrance",
      },
      {
        value: "prob3",
        title: "Apartment temperature below standard",
      },
      {
        value: "prob4",
        title: "Common area temperature below standard",
      },
      {
        value: "prob5",
        title: "Leak in the heating system",
      },
    ]
  },
  {
    value: "category2",
    title: "Response",
    selectable: false,
    children: [
      {
        value: "cooling_time",
        title: "Cooling time, h",
      },
      {
        value: "priority",
        title: "Building priority",
      },
    ]
  }
];

const getTempMapper = () => {
  const result = {}
  let index = 0
  for (let temp = -25; temp < 25; temp++) {
    result[temp] = index
    index++
  }

  return result
}

export const tempMapper = getTempMapper()
