Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105688

Binary sensor time

$
0
0

Hello, I want to know how to make a condition be checked when an automation is triggered. So if my binary sensor 1 goes “off”, I notify telegram on the condition that sensor 2 does not change in the next 30 seconds. I have tried with the for and the telegram notification notifies me when the sensor goes from “on” to “off” state. What I want is that sensor 1 goes “off” wait 30 seconds to verify that sensor two has not changed in 30 seconds.

condition: device
device_id: edf65a03951a415ab491000338b33f91
domain: binary_sensor
entity_id: binary_sensor.movimiento0105_occupancy
for:
  hours: 0
  minutes: 1
  seconds: 50
type: is_no_motion

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>