mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Use identity check for zeroconf enum compare (#126444)
This commit is contained in:
@@ -408,7 +408,7 @@ class ZeroconfDiscovery:
|
||||
state_change,
|
||||
)
|
||||
|
||||
if state_change == ServiceStateChange.Removed:
|
||||
if state_change is ServiceStateChange.Removed:
|
||||
self._async_dismiss_discoveries(name)
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user