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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user