function get_thermostat_adjustment(thermostat_current, thermostat_future) {
let current = relative_heat_requirements.filter(function (d) {
console.log(d["thermostat"])
return d["thermostat"] == thermostat_current
})
console.log(current[0])
return current[0]
current = current[0]["heat_required"]
let future = relative_heat_requirements.filter(function (d) {
return d["thermostat"] == thermostat_future
})
current = current[0]["heat_required"]
return future/current
}