Make Recorder Logbook and History Includes avaialable for editing on the entities page

You wouldn’t remove existing functionality, you would add an additional filter after the existing filter in the pipeline that could override the global behavior

Regular filter still work

   exclude:
       entities_glob: sensors.*

on the entity provide a setting that can add it back into the list if its filtered out, or ignore it
some entity:
Logbook Override: dropdown-> Default, Always, Never

or, for the power user, allow setting when the filter is applied, before or after global filter (the before would be applied in code as if they were put in the existing “include → entities” list or “exclude → entities” list from yaml.
some entity:
Logbook: dropdown-> Default, Always, Never , include, exclude

No reason to break anything. There would possibly be the issue that you double listed an entity (one in include and one in exclude for example) but that issue is possible and exists today so its not a new problem. It can be handled the same way or improved upon.

1 Like

Bumping an old thread but very curious if this is on the roadmap… would absolutely use it

:+1:
bumping up a really useful feature.

Bumping!! Could ABSOLUTELY use this feature!

1 Like

Another bump, I don’t want to log history or anything for bulbs and even some appliance status, I don’t need to know that my washing machine was 70% compete at midday 3 weeks ago :smiley:

1 Like

I just thought of another great use for this feature. Sometimes I’d like to keep an eye on a particular entity for a day or a few days. Maybe I’m changing something, maybe I want to verify that an automation has been running correctly, flipping switches or whatever which I typically don’t care about monitoring.

Wouldn’t it be great if we could go into the UI, check a box and start recording all that data which is typically useless? Then when I’m finished debugging, un-check it just as easily.

As far as I know, right now the only way to do this is to modify the YAML and restart HA.

This would be a great addition, hopefully implemented soon.

:rofl: Don’t hold your breath. Look when I started this request.

3 Likes

Hope is all we have left, lol.

I was looking for how to exclude entities from the history in order to avoid logging unnecessary data and the database growing unnecessarily, but I understand here that it simply doesn’t exist? :open_mouth:

Yes it does, but you have to manually configure it in configuration.yaml

As part of the system itself this has to be already implemented. There are many other FR with lot more votes. But many are integrations.

I think this is something useful as part of HA itself.

Please! My logs are inundated with useless information.

If not possible to implement for backward compatibility, then break compatibility after certain version? :slight_smile:
Other simple approach could be a GUI for the recorder.yaml file. Where it shows all the entities with a toggle switch, and a few filters so you can find the entities you want. Also the entries count in the DB for that particular entity would help a lot so you dont have to manually check the DB to see what is taking up most of your space.

It would be useful to have an option to disable entities from tracking (saving data to the database).
I know that it can be done manually, but it’s a lot of work ( Recorder - Home Assistant ).
You could add a switch to the UI to the options view that would disable saving.

Screenshot 2024-11-21 223745

It could even be done in such a way that it would simply add or remove this entity from “recording” yaml section.
Each integration adds many entities. Often only a few of them are used and the rest are disabled. But they are still saved in the database. The database is growing terribly (I know, I can clean it from time to time). SD cards are also being killed (I know, I can save a little less often). there is high resource consumption.