mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
parent
358af5b488
commit
818adf03b2
@ -22,7 +22,7 @@ To enable Trend binary sensors in your installation, add the following to your `
|
||||
binary_sensor:
|
||||
- platform: trend
|
||||
sensors:
|
||||
solar_angle:
|
||||
cpu_speed:
|
||||
entity_id: sensor.cpu_speed
|
||||
```
|
||||
|
||||
@ -59,7 +59,8 @@ binary_sensor:
|
||||
- platform: trend
|
||||
sensors:
|
||||
sun_rising:
|
||||
entity_id: sensor.cpu_speed
|
||||
entity_id: sun.sun
|
||||
attribute: elevation
|
||||
```
|
||||
|
||||
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