Configuration.yaml Recoder and History Sections

Can someone explain the exact difference between the include/exclude of the history / recoder section?

my personal opinion till now is: When I exclude an domain/entity in history section, it will not shown in history, but data will already written to HAs SQLITE Database? When I exclude in recoder section no data will be written to database, but will it be displayed in history?

No. If no data is written to the database, there is nothing to show in history.

so my opinion is correct, excluding in recorder → no data for history.

ok a new question depending on this topic:

For the influxdb section, the excludes have to be declared seperated or do they already depend on recoder excludes?

The influxdb integration works independent of recorder.

perfect thanx