I’ve been trying to reduce the size (time to render) of the history and get rid of stuff I don’t care about but i’m having some issues.
I tried to remove the date time from the history. That didn’t seem to work.
I also tried removing entity_globs from recorder that didn’t see to work either.
history:
exclude:
domains:
- automation
- updater
entities:
- sensor.last_boot
- sensor.date_time
- sensor.date
recorder:
purge_keep_days: 5
exclude:
entities:
- sensor.date
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
#entity_globs:
# - sensor.weather_*
Deleting the history and restarting solved the issue of the graph. Thanks @sheminasalam
2nd part, it seems I cannot use the
entity_globs:
- sensor.weather_*
I get this error when I check config
Invalid config for [recorder]: [entity_globs] is an invalid option for [recorder]. Check: recorder->recorder->exclude->entity_globs. (See /config/configuration.yaml, line 56). Please check the docs at Recorder - Home Assistant
I get this error when I try to exclude using the entity_globs
recorder:
purge_keep_days: 5
exclude:
entity_globs:
- sensor.time*
entities:
- sensor.date
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date_time
- sensor.time
- sensor.time_utc
The reason I want to use the entity_globs is I want to filter out all the entities with NodeID, etc
“”" Configuration invalid
“”" Invalid config for [recorder]: [entity_globs] is an invalid option for [recorder]. Check: “”"recorder->recorder->entity_globs. (See /config/configuration.yaml, line 12).
To reduce the size after purge, you should also tick " Repack "
In file-editor( add-on ) you can see the size of the " home-assistant_v2.db "
Or you can install Samba Share ( Add-on )