Strangely I could not find someone else running an automation every 30 minutes, especially now that the time and time_pattern have been split. The below automation gives me an error that the expression never matches. Can anyone tell me the impossibly easy fix for this?
Error doing job: Exception in callback <function async_track_utc_time_change.<locals>.pattern_time_change_listener at 0x7fde805deea0>
Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 68, in uvloop.loop.Handle._run
File "/usr/src/app/homeassistant/helpers/event.py", line 395, in pattern_time_change_listener
calculate_next(now)
File "/usr/src/app/homeassistant/helpers/event.py", line 380, in calculate_next
matching_hours)
File "/usr/src/app/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!
I appreciate the response, but two things. That didnât work, I tried deleting and using â*â. Also I used the automation editor in the GUI and thatâs the code it spit out in the automation.yaml file. So if HA isnât outputting the correct YAML, then thatâs a bug.
I just remembered that I donât have the latest version. I have 95.4. Has Time Pattern been changed/fixed since then?
EDIT: scratch this, removing the lines did get it working.
Actually I think I messed something up the first time I removed the lines, because now it seems to be working, when I enabled the automation this time, I didnât get an error message. Thank you!
Definitely a bug in the way the GUI forms the automation in automations.yaml. Removing the hours and seconds line worked. Note that â*â does not work, only removing the lines completely worked.