mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-13 20:11:53 +01:00
Merge pull request #2210 from CarlosGS/patch-12
Document existing feature for "on_value_range"
This commit is contained in:
commit
070e0f3aec
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user