mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Add a sensor with a numerical value
This commit is contained in:
parent
6670c5382a
commit
3d1ce032bc
@ -23,7 +23,7 @@ binary_sensor:
|
|||||||
- platform: trend
|
- platform: trend
|
||||||
sensors:
|
sensors:
|
||||||
solar_angle:
|
solar_angle:
|
||||||
entity_id: sun.sun
|
entity_id: sensor.cpu_speed
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
@ -59,7 +59,7 @@ binary_sensor:
|
|||||||
- platform: trend
|
- platform: trend
|
||||||
sensors:
|
sensors:
|
||||||
sun_rising:
|
sun_rising:
|
||||||
entity_id: sun.sun
|
entity_id: sensor.cpu_speed
|
||||||
```
|
```
|
||||||
|
|
||||||
This example creates two sensors to indicate whether the temperature is rising or falling at a rate of at least 3 degrees an hour, and collects samples over a two hour period:
|
This example creates two sensors to indicate whether the temperature is rising or falling at a rate of at least 3 degrees an hour, and collects samples over a two hour period:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user