mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-10-01 10:28:44 +01:00
Since 2020 Supervisor unconditionally installs and runs the multicast plugin on every installation. Users affected by its interference (mDNS duplicates, multicast storms) have no supported way to turn it off. This is phase 1 of the deprecation plan in architecture discussion #1457: an opt-in disable switch. The plugin config gains an `enabled` option (default true), persisted in multicast.json and exposed via `GET /multicast/info` and a new `POST /multicast/options` endpoint. Disabling stops and removes the container, removes the image and forgets the installed version. Enabling installs the current version and starts it, gated by the same job conditions as a plugin update. While disabled, load skips attach, install and start, the watchdog ignores container events, repair and auto-update are skipped, and start/restart/update raise MulticastDisabledError (HTTP 400). The update endpoint now rejects a disabled plugin before comparing versions, as the comparison raises on the None version left behind by a disable. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>