Customizations not loaded

I have the following config:

configuration.yaml:

homeassistant:
  # Load packages
  packages: !include_dir_named integrations

In integrations/homeassistant.yaml:

homeassistant:

  # Lets me customize individual entities
  customize: !include_dir_merge_named ../customizations/entities

  # Lets me custimize all entities in a domain
  customize_domain: !include_dir_merge_named ../customizations/domains

If I now add the following two settings to my integrations/homeassistant.yaml the customizations are not loaded and applied:

homeassistant:

  # Lets me customize individual entities
  customize: !include_dir_merge_named ../customizations/entities

  # Lets me custimize all entities in a domain
  customize_domain: !include_dir_merge_named ../customizations/domains

  # Enable Multi-factor Authentication (MFA)
  auth_mfa_modules:
    - type: totp

  # Trusted Networks
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - xxx.xxx.xx.xxx/24

If I remove the auth_mfa_modules and auth_providers settings from the yaml file, the customizations works fine!

Any idea what’s the problem?

Thanks and regards,
Daniel.