New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid time pattern passes checks #40269
Comments
During startup you get the following from the above automation:
|
automation documentation |
Hey there @home-assistant/core, mind taking a look at this issue as its been labeled with an integration ( |
I can't reproduce that in the latest 0.116 dev branch. During attempted saving in the automation editor, it correctly raises the error that the value is not valid. |
The automation editor may complain, but that doesn't help:
See also this thread |
@DubhAd If I manually change the values of the automation in YAML and then reload from within HA then I get the same error logged as you. What would be the expected outcome? To me the error looks correct (would be better if instead of "None" it would show "300"). |
Sorry for the delay. The problem is there's no error from the config check, only at startup. |
The problem is that "check config" was a hack bolted onto Home Assistant that we now have to maintain and hasn't kept up with the modernizing of config validation 😭 |
This will happen to anything that uses the modern config validation, which includes anything that has triggers, conditions or action/scripts. To fix this |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
An invalid time pattern trigger passes the config checks, but will throw errors at run time.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: