1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Analog threshold (#3190)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Adrián Panella
2022-02-17 14:14:10 -06:00
committed by GitHub
parent 953f0569fb
commit 8cb9be7560
6 changed files with 130 additions and 0 deletions

View File

@@ -1307,6 +1307,21 @@ binary_sensor:
]
- platform: as3935
name: "Storm Alert"
- platform: analog_threshold
name: Analog Trheshold 1
sensor_id: template_sensor
threshold:
upper: 110
lower: 90
filters:
- delayed_on: 0s
- delayed_off: 10s
- platform: analog_threshold
name: Analog Trheshold 2
sensor_id: template_sensor
threshold: 100
filters:
- invert:
pca9685:
frequency: 500