Created
January 1, 2021 19:12
-
-
Save Didgeridrew/cd86237c887cde50e9949de0d0518146 to your computer and use it in GitHub Desktop.
HA sensor last changed help
This file contains hidden or 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: | |
- platform: template | |
sensors: | |
sensor_30min_change: | |
friendly_name: "Sensor last changed > 30 minutes" | |
value_template: >- | |
{{ relative_time(states.sensor.basement_humidity.last_changed) == "31 minutes"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment