Do something only if the sensor is low for more than 1 second

Note the time that it goes low with millis( ).
After 1 second, read the sensor again, if still low then do whatever.