History showing "invalid config" is notifying but validates ok

I’ve noticed that my history is telling me that I’ve got an invalid config, as per the image.

What does this mean and is it possible to get rid of this? My config validates fine and my system seems to be running ok.

have you clicked ‘ok’ on the main panel in the hass UI? once you click ‘ok’ this message will go away if your config is valid.

This appears when there is an invalid part of your config. Even after you acknowledge it and fix the error in configuration, this will still appear in history until the next day. History resets at 0:00 every day and if there is no longer an invalid part of your config it will then go away.

Only other way to get rid of it is to remove the corresponding entry in your recorder database, or exclude it from the recorder and history component configuration.