Better info how ignore_attributes works (#23750)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Piotr Kubiak 2022-08-15 12:22:21 +02:00 committed by GitHub
parent 85e1dbf08d
commit 667a142b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ tags_attributes:
default: 0
ignore_attributes:
type: [string, list]
description: The list of attribute names to ignore when reporting to InfluxDB. This can be used to filter out attributes that either don't change or don't matter to you in order to reduce the amount of data stored in InfluxDB.
description: The list of attribute names to ignore when reporting to InfluxDB. This can be used to filter out attributes that either don't change or don't matter to you in order to reduce the amount of data stored in InfluxDB. Please be aware of the underlying InfluxDB mechanism that converts non-string attributes to strings and adds a `_str` suffix to the attribute name in this case. It means that when you want to ignore, for example, the `icon_str` attribute that shows in your InfluxDB instance, you need to provide `icon` to `ignore_attributes`.
required: false
component_config:
type: string