TemperatureSensor
Smart HomeMeasures the temperature in degrees Celsius and how much water vapour is in the air (humidity, in percent).
How you reach it
Section titled “How you reach it”The TemperatureSensor class is reached through this attribute of home.
home.temperature_sensor
Section titled “home.temperature_sensor”Always there.
All the attributes of home are in its table.
Methods
Section titled “Methods”temperature()
Section titled “temperature()”The temperature in degrees Celsius (0 to 50 on this sensor), or None before the first good reading.
temperature() -> Optional[int]Used in examples: Web dashboard, Smart house
humidity()
Section titled “humidity()”How much water vapour is in the air, in percent (20 to 90 on this sensor), or None before the first good reading.
humidity() -> Optional[int]Used in examples: Web dashboard, Smart house