mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Use identity check for zeroconf enum compare (#126444)
This commit is contained in:
parent
ba48a86156
commit
abceed8112
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user