mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Ready (#8175)
This commit is contained in:
parent
57cf8576f0
commit
6a3c2d06e3
@ -23,6 +23,7 @@ The way these sensors are displayed in the frontend can be modified in the [cust
|
|||||||
- **illuminance**: The current light level in lx or lm.
|
- **illuminance**: The current light level in lx or lm.
|
||||||
- **temperature**: Temperature in °C or °F.
|
- **temperature**: Temperature in °C or °F.
|
||||||
- **pressure**: Pressure in hPa or mbar.
|
- **pressure**: Pressure in hPa or mbar.
|
||||||
|
- **timestamp**: Datetime object or timestamp string.
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/screenshots/sensor_device_classes_icons.png' />
|
<img src='/images/screenshots/sensor_device_classes_icons.png' />
|
||||||
|
@ -52,6 +52,12 @@ name:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: REST Sensor
|
default: REST Sensor
|
||||||
|
device_class:
|
||||||
|
description: >
|
||||||
|
The [type/class](/components/sensor/) of
|
||||||
|
the sensor to set the icon in the frontend.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
value_template:
|
value_template:
|
||||||
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the value."
|
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the value."
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user