convert temperature value
is the current temperature value that is given by the sensor
is the unit fahrenheit, kelvin or degrees from the temperature
convert temperature value
is the values of the settings for the thermostat
converted settings
convert temperature value
converted Update
Generated using TypeDoc
Unit class can convert a temperature form fahrenheit, kelvin or degrees to fahrenheit, kelvin or degrees
import Unit from './Unit.ts' const myUnit = new Unit() myUnit.convert(temperature, unit)