How to prevent automatic discovery of Chromecast devices

How do I prevent automatic discovery of Chromecast devices? There are two on my network that don’t belong to me, and I don’t really want it to show up in my HA. I tried the following in configuration.yaml, and HA still keeps discovering them and putting them in core.devices.registry and core.entity.registry on every restart.

discovery:
  ignore:
    - google_cast

I don’t believe that technique works anymore (and not just for google_cast).

The bad news (you can’t disable it) is reported here:

1 Like