OTA settings in config.yaml

I currently have these settings in my configuration.yaml file:-

zha:
  custom_quirks_path: /config/custom_zha_quirks/
  zigpy_config:
    ota:
      otau_directory: /config/zigpy_ota
      ikea_provider: true                        # Auto update Trådfri devices
      #ledvance_provider: true                    # Auto update LEDVANCE/OSRAM devices
      #salus_provider: true                       # Auto update SALUS/Computime devices
      #inovelli_provider: true                    # Auto update INOVELLI devices
      thirdreality_provider: true                # Auto update 3REALITY devices

But my logs are now complaining:-

The `ikea_provider` key is deprecated, migrate your configuration to the `extra_providers` list instead: `extra_providers: [{'type': 'ikea'}]`
The `thirdreality_provider` key is deprecated, migrate your configuration to the `extra_providers` list instead: `extra_providers: [{'type': 'thirdreality'}]`

I’m struggling to find any information on what to change this to. Any help appreciated.

EDIT: Ignore me… I re-read the actual error and it was straight forward.

Good you got it working! :slight_smile: And no need to ignore you :wink:

Would you mind posting the actual solution and mark that post as “solution”? It would help others in the future, if they have the same problem. :slight_smile:

Thanks and have a good day! :slight_smile:

The change, once I read the log was pretty simple:-

zha:
  custom_quirks_path: /config/custom_zha_quirks/
  zigpy_config:
    ota:
      otau_directory: /config/zigpy_ota
      extra_providers: [{'type': 'ikea'},{'type': 'thirdreality'}]

6 Likes

FYI, check out comments in this not yet merged pull request for ZHA integration documentation:

Noe that the OTA config for ZHA changed recently so be sure to follow the latest info for ZHA integration (where there is a new warning that basically says to do not mess with the XML settings for ZHA OTA):

If however you are a zha/zigpy developer or manufacturer then the zigpy project has more info, see:

and

1 Like

Just to tack onto this, when that docs PR does get merged, it will point users to this page, which has the new information: OTA Configuration · zigpy/zigpy Wiki · GitHub