Can't disable discovery Upnp

Hi,
What am I doing wrong?

# ----------All the Integrations --------------
tts:
  - platform: google_translate

discovery:
  ignore:
    - upnp
    - igd

gives me the error
Invalid config for [discovery]: value is not allowed @ data[‘discovery’][‘ignore’][0].

  • Got ‘upnp’ value is not allowed @ data[‘discovery’][‘ignore’][1].
  • Got ‘igd’. (See /config/configuration.yaml, line 21).

I tried both because of forum threads recommending so but I can’t seem to get it in there. Using hassio . I try to “ignore” from the front end but it keeps coming back and piling up in “view ignored integrations” - I had 5 “ingored” values of the same UPNP

? Thanks!

remove the - igd line

# ----------All the Integrations --------------
tts:
  - platform: google_translate

discovery:
  ignore:
    - upnp

I used to use ignore on UPNP and IGD but seems they have gone from the allowed ignore list and threw up errors:

Sadly, that results in the same error. I’m now updating system and versions… should have done that before. Let’s see…

That was dependent on you running the latest version…It was a breaking change to the way upnp works.
I think you can remove it completly from your config and add it as an integration now.

You’re right. That seems to have done it. It’s not showing again. Have a nice day.

I have the opposite issue, I want to discover my upnp. I declined it initially however now I cannot get the upnp to work now… Thoughts?