Patent attributes
A thermostat may include a plurality of heat-generating components; a plurality of first temperature sensors, each of the plurality of first temperature sensors being disposed next to a corresponding one of the plurality of heat-generating components; a second temperature sensor that is disposed away from the plurality of heat-generating components; and a memory device storing a coefficient matrix. The thermostat may also include one or more processors that combine a plurality of inputs to calculate an ambient temperature for an enclosure in which the thermostat is installed, the plurality of inputs including readings from the plurality of first temperature sensors, readings from the second temperature sensor, and the coefficient matrix.