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.
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!
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?
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.
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/
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!?
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.