Remove early return when validating entity registry items (#116160)

This commit is contained in:
Erik Montnemery 2024-04-26 08:38:24 +02:00 committed by Paulus Schoutsen
parent 29ab68fd24
commit 4612f18186

View File

@ -636,7 +636,6 @@ def _validate_item(
unique_id,
report_issue,
)
return
if (
disabled_by
and disabled_by is not UNDEFINED