does exist a way how to reduce amount of messages from device to database? I’ve bought some Air Quality sensor and it sends update every second for 7 magnitudes (temperature, humidity, co2, formaldehyde, etc…) and it’s causing growing database too fast (approx 1 GB per week). I’d like to use the sensor but have to reduce message amount to one per minute or something like this.
I’ve tried to delete all rows from database but it took too long and HA was frozen during deletion query. So better way is to reduce incoming messages than delete stored ones.