Use identity check for zeroconf enum compare (#126444)

pull/126412/head^2
J. Nick Koston 2024-09-22 21:41:10 -05:00 committed by GitHub
parent ba48a86156
commit abceed8112
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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