mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +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.
|
||||
- **temperature**: Temperature in °C or °F.
|
||||
- **pressure**: Pressure in hPa or mbar.
|
||||
- **timestamp**: Datetime object or timestamp string.
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/screenshots/sensor_device_classes_icons.png' />
|
||||
|
@ -52,6 +52,12 @@ name:
|
||||
required: false
|
||||
type: string
|
||||
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:
|
||||
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the value."
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user