Skip to content

Redirect repairs to the first view with unknown entities - #1172

Merged
frenck merged 6 commits into
frenck:mainfrom
piitaya:unknown_entity_redirect_view
May 28, 2026
Merged

frenck merged 6 commits into
frenck:mainfrom
piitaya:unknown_entity_redirect_view

Handle empty Lovelace view paths

78eb01c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 28, 2026 in 20s

Annotations

Check failure on line 104 in custom_components/spook/ectoplasms/lovelace/repairs/unknown_entity_references.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=frenck_spook&issues=AZ5tdiRYEOv_2b6Fmxvk&open=AZ5tdiRYEOv_2b6Fmxvk&pullRequest=1172