Currently the only way to filter attributes that go into InfluxDB is to create negative list with the configuration variable ignore_attributes. This makes sense when the number of attributes that is observed is higher than the number of attributes that need to be ignored. In other cases it would be of advantage to have a positive list of attributes. E.g. if new devices or integrations are loaded into Home Assistant they might come with new attributes which should not be written to Influx but the negative list does not contain them.