A line-crossing alert is an instant, not a state that remains on until something clears it. Home Assistant adds event entities for these short-lived camera messages, giving automations a trigger for each new occurrence.
The camera must supply a supported event. Messages repeated when subscribing or renewing the connection are ignored, so reconnecting does not replay an old occurrence as a fresh alert.