I’d like the automation to trigger telling me there’s temperature sensor data coming from that sensor after it being “unknown”, but only if its been “unknown” for at least 5 minutes beforehand. The way ive got it setup now if the sensor cuts out and comes right back on 30 seconds later (the next teleperiod in tasmota) I get an alert. I created the condition of the sensor being unavailable for 5 minutes to attempt to slow the trigger down, I think.
alias: BIG freezer temperature sensor is no longer malfunctioning
description: ''
trigger:
- platform: state
entity_id: sensor.tasmota_nodetemp2_am2301_temperature
from: unknown
for:
hours: 0
minutes: 0
seconds: 0
condition:
- condition: state
entity_id: sensor.tasmota_nodetemp2_am2301_temperature
state: unknown
for:
hours: 0
minutes: 5
seconds: 0
action:
- device_id: (removed)
domain: mobile_app
type: notify
message: BIG freezer temperature sensor is no longer malfunctioning
mode: single