I have a few sensors, like water leak sensors and they send alarm notifications to pushover like:
- alias: Water Leak Toilet Upstairs
trigger:
- entity_id: binary_sensor.lumi_lumi_sensor_wleak_aq1_19913602_ias_zone
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: notify.pushover
data:
title: Water Leak Toilet Upstairs
message: Water Leak Toilet Upstairs
data:
priority: 1
sound: persistent
Is is a smarter way to clear the notification when the sensor is dry (offf) than having another automation rule (the opposite i.e. from on to off) - i.e having the same automation but dual messages or something lika that?