Good morning,
I´m trying to make an automation for a motion detection from an Abus camera. For this, I took the imap_email_content feature. here the config and the automation:
I know this will work only one time, as the sensor “sensor.abus_motiondetection” always has the state “motiondetection”, even if there are other emails arriving.
Do I have to “reset” the sensor state somehow, or can I use another syntax in the automation?
My idea was to add another action, like sending an email with “clear_state” in the Topic, to change the sensor state, but don´t know if this is the easiest way.