mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove early return when validating entity registry items (#116160)
This commit is contained in:
parent
764b34ab62
commit
623d34e1e0
@ -636,7 +636,6 @@ def _validate_item(
|
|||||||
unique_id,
|
unique_id,
|
||||||
report_issue,
|
report_issue,
|
||||||
)
|
)
|
||||||
return
|
|
||||||
if (
|
if (
|
||||||
disabled_by
|
disabled_by
|
||||||
and disabled_by is not UNDEFINED
|
and disabled_by is not UNDEFINED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user