Skip to content

Deprecation Warning #965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
oferna64 opened this issue May 3, 2025 · 2 comments
Open

Deprecation Warning #965

oferna64 opened this issue May 3, 2025 · 2 comments

Comments

@oferna64
Copy link

oferna64 commented May 3, 2025

What version of Spook are you using?

3.1.0

What version of Home Assistant are you using?

Core 2025.4.4, Supervisor 2025.04.1, OS 15.2

The problem

Deprecation Warning

Home Assistant reports that spook accesses Lovelace dashboards using deprecated dictionary-style access: hass.data["lovelace"]["dashboards"]. This will break in Core 2026.2 and should be updated to lovelace_data.dashboards.

Offending file: custom_components/spook/ectoplasms/lovelace/repairs/unknown_entity_references.py:45

Anything in the logs? Paste it here!


@bessertristan09
Copy link

Same here 😅:

Logger: homeassistant.helpers.frame
Quelle: helpers/frame.py:335
Erstmals aufgetreten: 09:38:40 (1 Vorkommnis)
Zuletzt protokolliert: 09:38:40

Detected that custom integration 'spook' accessed lovelace_data['dashboards'] instead of lovelace_data.dashboards at custom_components/spook/ectoplasms/lovelace/repairs/unknown_entity_references.py, line 45: self._dashboards = self.hass.data["lovelace"]["dashboards"]. This will stop working in Home Assistant 2026.2, please create a bug report at https://github.com/frenck/spook/issues

@JamieMagee
Copy link

Duplicate of #894. Fixed in #902.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants