Excluding a bunch of devices from Logbook and History

I’ve tried the following configuration, but it seems it just excluded the group but not the devices within the group:

configuration.yaml

# Enables support for tracking state changes over time
history:
  exclude:
    entities:
      - group.exclude

# View all events in a logbook
logbook:
  exclude:
    entities:
      - group.exclude

groups.yaml

exclude:
    entities:
      - device_tracker.apwintergarten
      - device_tracker.apwohnzimmer
      - device_tracker.esp7699b8
      - device_tracker.fritzpowerline_510e
      - device_tracker.fritzbox

Any way to grouping devices or do I have to put every sensor directly within logbook and history?

Noone? :frowning:

Even putting groups within domains, as here suggested didn’t make any difference :frowning: