Which takes priority when used both exclude and include?

Hi!
Just a quick question. If in my configuration.yaml I will setup something like this:

recorder:
  exclude:
    entity_globs::
      - device_tracker*
  include:
    entities:
      - device_tracker.myphone

What have priority? The exclude or the include rule? Will “device_tracker.myphone” be kept in history, or excluded by globs?

Thanks in advance!

Supposedly (according to the documentation) the entity takes priority, however… have a read of this: Repost? Am I using history and recorder wrong? - #5 by stevemann