Automation Condition: If Errors In System Log

I’m working on an automation to start the HomeKit service when HASS is started. But, if there are any errors in the system log then I do not want to start HomeKit service.

I know there’s a trigger for system_log events, but is there any way to use this as a condition in a single automation?