Time Pattern async error TIME 91.1

Mon Apr 08 2019 12:59:09 GMT-0700 (Pacific Daylight Time)
Error doing job: Exception in callback async_track_utc_time_change..pattern_time_change_listener() at /srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/event.py:359
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/events.py”, line 126, in _run
self._callback(*self._args)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/event.py”, line 368, in pattern_time_change_listener
calculate_next(now)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/event.py”, line 353, in calculate_next
matching_hours)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/dt.py”, line 256, in find_next_time_expression_time
raise ValueError("Cannot find a next time: Time expression never "
ValueError: Cannot find a next time: Time expression never matches!

ive tried everything that i could find on this forum as well as setting a sensor for time, not sure if that is even necessary, also the timezone is set in the configuration…

- id: '0000000000000000'
  alias: pump recirculate 30 seconds
  trigger:
  - hours: '2'
    platform: time_pattern
    seconds: ''
  condition: []
  action:
  - data:
      message: pump triggered
    service: notify.gmail
  - data:
      entity_id: switch.pump
    service: switch.turn_on
  - delay: 00:00:30
  - data:
      entity_id: switch.pump
    service: switch.turn_off

it would be great if you could post your code surrounded with 4 apostrophes (which is to preserve formatting) as currently it makes no sense at all.

my bad, selected the wrong one, thanks for letting me know

anyways i think i resolved it by removing the seconds portion that the web interface created…thanks, no longer see the error in my log !!

yay! :wink:
that’s why i don’t like automations editor

it usually works fairly well, but yeah it does have its issue at times manipulating the backend