diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 196e16298ef..a5015e9fc8c 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -395,7 +395,6 @@ class ZeroconfDiscovery: @callback def _handle_config_entry_removed( self, - change: config_entries.ConfigEntryChange, entry: config_entries.ConfigEntry, ) -> None: """Handle config entry changes.""" diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 099b8ca2807..5df7e9b9cb0 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -196,7 +196,7 @@ SIGNAL_CONFIG_ENTRY_CHANGED = SignalType["ConfigEntryChange", "ConfigEntry"]( @cache def signal_discovered_config_entry_removed( discovery_domain: str, -) -> SignalType[ConfigEntryChange, ConfigEntry]: +) -> SignalType[ConfigEntry]: """Format signal.""" return SignalType(f"{discovery_domain}_discovered_config_entry_removed") @@ -1875,7 +1875,6 @@ class ConfigEntries: async_dispatcher_send_internal( self.hass, signal_discovered_config_entry_removed(discovery_domain), - ConfigEntryChange.REMOVED, entry, ) return {"require_restart": not unload_success}