{% set nw = now() %}
    {% set last = state_attr('automation.roomba_notification_when_out', 'last_triggered') %}
    {{ 00 <= nw.hour < 24 and
       (last is none or (nw - last).total_seconds() > 60 * 6) }}