Error recorder and exclude?

I wanted to exclude entities from my database simply because it is getting way to big for no reason, following the exclude option example from the site I got a strange error:

Invalid config for [recorder]: [exclude] is an invalid option for [recorder]. Check: recorder->recorder->exclude.

What to do about this?

I know this is going to sound stupid, but check your spelling. It’s definitely a valid option and if it was YAML, I’d think the error would be more about syntax.

Might be I am not a native English speaker, but I did a copy paste from my logging and in logging the option worked like a charm so I guess that the spelling was not the case!

Just putting the word exclude: into my configurations gives an error?

Try deleting the entire line and typing it by hand. HA is UTF-8 sensitive and I ran into some issues when I pasted in a degree symbol. Maybe you picked up a tab or extra space somewhere in the copy process.

I already tried that, to no avail. error keeps coming.
Without that option all runs fine, no errors and Home Assistant is running like it should, put in a purge after 7 days no problem but… no exclude possible?

I’m trying it now. I’ve never used the exclude. Hang on.

Worked fine over her on 0.36.1

Here’s my entry:

recorder:
  # Delete events and states older than 2 weeks
  purge_days: 14
  db_url: !secret db_url
  exclude:
    domains:
      - updater

Thanks for trying, I am really puzzled.

So yours looks pretty much like mine then? How about trying exactly like mine (the exclude part) and seeing if maybe it’s one of the domains.

Just tried, first hand typed, nope same result, secondly - copied yours pasted my database path into it - result same error??? This one I cannot figure out.

Here the coplete error:

17-01-26 01:22:00 homeassistant.bootstrap: Invalid config for [recorder]: [exclude] is an invalid option for [recorder]. Check: recorder->recorder->exclude. (See /home/hass/.homeassistant/configuration.yaml:57). Please check the docs at https://home-assistant.io/components/recorder/

Hope anybody can figure this one out?

Line 57 is where exclude is!

And what version and platform are you running, just in case someone else needs to know?

Good one thanks,

Platform: Raspberry pi 3
Version: 0.35 I believe not the latest but the stable version from dec 2016.

Version 0.35.0

I think you might need an update!

EDIT Maybe not, I just re-read this and I think this may not be it.

Excluding entities from my history and logbook work just fine no problems at all.

Problem persists, when I put exclude in the recorder settings, HA gives an error and the recorder stops functioning, Please is there anybody who knows this problem and solved it, help is needed!?

Thanks JJ

If I read this correctly, you still have to update. The linked commit is 25 days old, so later then your december version.

Daniel you are right, I didn’t dare to, I had such a struggle getting it up and running, and it runs nicely nowexcept that the database is getting huge with nonsense information, and love it.
But apart from that, it strikes me strange that all other excludes work but not the one from the database, by the way I tested the database and all runs fine so how is it that I cannot use exclude.
Even in version 0.35.0 nobody as far as I could find in the forum had this prob, So I Like to find out what is wrong before an upgrade of the complete HA.