Automation that check that value is not 0 during certain time certain days

I have a switch that turns on a pump. On this I have a meter for consumed power.

It has now happened that the pump hasn’t started depending on several reasons when the switch is on.

How can I write a Automation that sends an alert if during Tuesday between 08:30 to 09:50, Thursday between 08:30 to 09:50 and Saturday between 08:30 to 09:50 I have a “0” on the power measured power?
Shortly:

If Sensor_X = 0 on Tuesday between 08:30 to 09:50
OR
If Sensor_X = 0 on Thursday between 08:30 to 09:50
OR
If Sensor_X = 0 on Saturday between 08:30 to 09:50
Raise Alert_SendMail

Anyone have any good ideas?

Wouldn’t it be better

If switch == on and (consumption == 0, for 10 seconds)

That way if you change your schedule this won’t break

It is way better :slight_smile: Thank you