device.type
:switch
- Models: Aqara Temperature and Humidity Sensor
- Model identifiers:
lumi.sensor_ht
The sensor type is used for things that are primarily a sensor. The capabilities
described below can be used without the type being sensor
in which case the
device will instead be marked with sensor
as a capability.
None.
For when the device supports measuring the temperature.
temperature
- temperature in degrees Celsius
Get the temperature in degrees Celsius.
For when the device supports measuring the relative humidity.
humidity
- relative humidity in percent between 0 and 100
Get the relative humidity in percent between 0 and 100
For when the device supports measuring the air quality. Most Mi Home
products uses tha name aqi
internally but seems to measure PM2.5.
aqi
- Air Quality Index number
Get the current Air Quality Index
For when the device supports measuring illuminance in Lux.
illuminance
- the current illuminance in Lux
Get the current illuminance in Lux
For when the device supports measuring the atmospheric pressure.
pressure
- Atmospheric pressure
Get the current atmospheric pressure in kPa