mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Use is for UNDEFINED check in async_update_entry (#100599)
This commit is contained in:
@@ -1348,7 +1348,7 @@ class ConfigEntries:
|
||||
("pref_disable_new_entities", pref_disable_new_entities),
|
||||
("pref_disable_polling", pref_disable_polling),
|
||||
):
|
||||
if value == UNDEFINED or getattr(entry, attr) == value:
|
||||
if value is UNDEFINED or getattr(entry, attr) == value:
|
||||
continue
|
||||
|
||||
setattr(entry, attr, value)
|
||||
|
Reference in New Issue
Block a user