Created
October 24, 2023 14:40
-
-
Save TheRealSimon42/7020b5a1104aadc5e47f5d8a96f913ee to your computer and use it in GitHub Desktop.
/config/configuration.yaml - Know if someone is showering based on humidity trend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
binary_sensor: | |
# Quelle: https://community.home-assistant.io/t/automation-shower-detection-trigger-when-humidity-increases-in-10-minutes/162250 | |
# Tracks 3 humidity readings over 10 minutes. If the change is greater than 10%, evals to true. (10/(60*10)) | |
- platform: trend | |
sensors: | |
badezimmer_duschen: | |
friendly_name: "Badezimmer duschen" | |
max_samples: 3 | |
entity_id: sensor.aqara_tempature_and_humidity_sensor_humidity | |
sample_duration: 600 | |
min_gradient: 0.01666 | |
device_class: occupancy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment