forked from home-assistant/core
Remove early return when validating entity registry items (#116160)
This commit is contained in:
committed by
Paulus Schoutsen
parent
29ab68fd24
commit
4612f18186
@@ -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
|
||||||
|
Reference in New Issue
Block a user