Open Marvinmsn opened 1 month ago
hi @Marvinmsn,
i remember seeing a similar issue in #335. is there a chance that this issue is related to #335?
Hi @pkissling, that's interesting. I did some more testing. My clock weather card is nested in a custom:vertical-stack-in-card which is nested in a normal vertical stack which is nested in a normal horizontal stack. Like this:
type: horizontal-stack
type: vertical-stack
type: custom:vertical-stack-in-card
type: custom:clock-weather-card
If I remove one of the normal stacks, everything works fine. Replacing the custom:vertical-stack-in-card with a normal vertical stack also seems to work.
I have a lot of nested cards like this. But somehow clock weather loses the definition of this.hass along the way.
Checklist:
Release with the issue: 2.8.1
Last working release (if known):
Browser and Operating System: Firefox 128.0, Chrome 126.0.6478.128,
Description of problem: The console occasionally displays the error "this.hass is undefined," resulting in the clock weather card not loading. This issue is intermittent; at times, the error appears and the card loads successfully, while at other instances, everything functions normally without any errors. This problem primarily occurs during the initial loading of the dashboard. Reloading the dashboard (simple F5) usually resolves the issue, but not consistently.
Javascript errors shown in the web inspector (if applicable):
Firefox:
Chrome:
Additional information: Core 2024.7.2 Supervisor 2024.06.2 Operating System 12.4 Frontend 20240710.0