joBr99 / nspanel-lovelace-ui

Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
GNU General Public License v3.0
873 stars 189 forks source link

[BUG] Card grid breaks when there is a light on it #1063

Closed JasperHorn closed 10 months ago

JasperHorn commented 10 months ago

PROBLEM DESCRIPTION

My card page has been completely empty (also lacking the navigation to the other cards) for a few weeks now. Probably since I installed the latest update. This stops happening when I remove the light from my card page. Having either an IKEA Tradfri bulb or a light entity group (the only two light types I have to test with) breaks the page, having a non-existent light entity does not.

(Personally, I wasn't actually using the panel to control these lights, so I'm fine just removing them from the page, but it makes sense to report it anyway)

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

2023-11-23 13:33:43.663910 WARNING nspanel_living_room: ------------------------------------------------------------



### TO REPRODUCE
Put a light on a card grid card.

### EXPECTED BEHAVIOUR
Have the card work and have the light entity on it.

### SCREENSHOTS
Will add a photo later.

### ADDITIONAL CONTEXT
Using ESPHome.

### PANEL / FIRMWARE VERION
EU
JasperHorn commented 10 months ago

Never mind, additional restarting fixed the problem (I had gotten distracted while making the issues, and only realized afterwards that I had intended to restart AppDeamon after re-uploading the firmware manually).

Interestingly, it also fixed the problem for the second panel, which I hadn't done the extra upload of the firmware for. My AppDeamon had been crashing earlier, so I had started it again after fixing that, and I had assumed that was as no worse than a restart. Perhaps that assumption was wrong. Or perhaps something else happened, I don't really know. Either way, the problem disappeared for me...

joBr99 commented 10 months ago

See #1036.

There was an Backend Update for Home Assistant 2023.11, fixing this issue with the light entities. No TFT Upgrade required only the backend & a AppDaemon Restart.

JasperHorn commented 10 months ago

Yeah, I don't know why starting AppDaemon (that wasn't running) wasn't enough, but the extra restart was. But it does work now.

Thanks for the quick response!

JasperHorn commented 10 months ago

It seems that the problem wasn't entirely solved. When I do a restart, it works but it seems that a day later the problems are back. I will do some more investigating and reopen the issue when I have.