mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Remove early return when validating entity registry items (#116160)
This commit is contained in:
@@ -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