History excloude

I want to excloude marked items from history, can some please tell me what must I add in configuration file. For now i have set up like this

# Enables support for tracking state changes over time
history:
  exclude:
    entities:
     - sun.sun
     - sensor.yr_symbol
     - sensor.weather_precipitation
     - sensor.weather_humidity
     - sensor.weather_symbol

It probably needs purging the database to get rid of the ‘old’ entries that you don’t want to see any more - see here:

Maybe you even have to delete the database completely before they go away.