Thermostat class that can calculate if it is to hot or to cold
import Thermostat from './thermostat.ts' const myThermostat = new Thermostat(settings) myThermostat.start(currentTemperature)
get cooling
if the cooling is true or false
get heating
if the heating is true or false
set heating ore cooling
is the current temperature that is given by the sensor
Generated using TypeDoc
Thermostat class that can calculate if it is to hot or to cold
import Thermostat from './thermostat.ts' const myThermostat = new Thermostat(settings) myThermostat.start(currentTemperature)