Create a sensor which shows the latest alert, and another for the latest error. Possibly also emit events with the JSON payload.