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

IMAP Sensor - Only process emails from last minute

$
0
0

@BruceH5200 wrote:

What is the format of the value template for an IMAP sensor to only process emails from the last 30 seconds?

I am using an IMAP sensor to process emails from my Hive Cameras.
An IMAP sensor processes the emails and sets a sensor to “lounge_camera_person”, “landing_camera_sound” etc.
Boolean sensors then set for each camera and type based on this sensor.

The sensors never reset as there is always a “most recent email” that locks the sensor on.

If it only processed emails from the last 30 seconds, then presumably the sensor would go blank if there were no new emails.

Thanks in advance for your help.

Bruce.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles