mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-04 01:06:50 +00:00
1.4 KiB
1.4 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_qa_scale, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_qa_scale | ha_release | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
page | Sensor | Instructions on how to setup your sensors with Home Assistant. | 2015-01-24 14:39 | true | false | true | true | home-assistant.png |
|
internal | 0.7 |
Sensors are gathering information about states and conditions.
Home Assistant currently supports a wide range of sensors. They are able to display information which are provides by Home Assistant directly, are gathered from web services, and, of course, physical devices.
{% linkable_title Device Class %}
The way these sensors are displayed in the frontend can be modified in the customize section. The following device classes are supported for sensors:
- None: Generic sensor. This is the default and doesn't need to be set.
- battery: Percentage of battery that is left.
- humidity: Percentage of humidity in the air.
- illuminance: The current light level in lx or lm.
- signal_strength: Signal strength in dB or dBm.
- temperature: Temperature in °C or °F.
- power: Power in W or kW.
- pressure: Pressure in hPa or mbar.
- timestamp: Datetime object or timestamp string.
Example of various device class icons for sensors.