From 818adf03b228750b904036dcdc67fe9f2ee718dd Mon Sep 17 00:00:00 2001 From: Oncleben31 Date: Sat, 26 May 2018 09:13:43 +0200 Subject: [PATCH] Update examples (#5433) Some typo in the current examples. --- source/_components/binary_sensor.trend.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_components/binary_sensor.trend.markdown b/source/_components/binary_sensor.trend.markdown index ae8e37c55ac..ed17e8a232e 100644 --- a/source/_components/binary_sensor.trend.markdown +++ b/source/_components/binary_sensor.trend.markdown @@ -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: