I feared using only a substring without further wildcards on either side would not match.
btw, would it make any efficiency difference if I only use the starting sequence ‘Error on load tts:’ ?
re.search traverse the string, it doesn’t require a full match. If you want a full match, you need to learn regex and all the symbols. There are no ‘wildcards’, it’s not as simple as grep. You have to specifically tell it what to search for and how many times, etc. Also, throw out everything you know about wildcards/grep because it does not translate to regex.
my eyes must be failing me then, because this is one of the error lines:
2021-06-04 15:35:13 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
and I copied the exact last few words of that line. Isnt that what we did above with the google_translate?
no, those warnings are printed before the logger integration is loaded
Which is the same reason that and The custom integration 'xxxx' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details is only in the log file and not in the UI