From b8614d2626b5401e9ff8fe74e73d7f034db81a5c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Saura Date: Sat, 6 Aug 2022 16:28:15 +0200 Subject: [PATCH] Update index.rst --- components/sensor/index.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/components/sensor/index.rst b/components/sensor/index.rst index dd280288e..ea1714255 100644 --- a/components/sensor/index.rst +++ b/components/sensor/index.rst @@ -558,10 +558,16 @@ So for example ``above: 5`` with no below would mean the range from 5 to positiv - platform: dallas # ... on_value_range: - above: 5 - below: 10 - then: - - switch.turn_on: relay_1 + - below: 5.0 + then: + - switch.turn_on: relay_1 + - above: 5.0 + below: 10.0 + then: + - switch.turn_on: relay_2 + - above: 10.0 + then: + - switch.turn_on: relay_3 Configuration variables: