hass-browser_mod
hass-browser_mod copied to clipboard
Settings Page Broken Due To Changes in `ha-data-table` Custom Element
My Home Assistant version: 2024.7.1 Frontend: 2024.0705.0
What I am doing: Opening the browser mod settings page.
What I expected to happen: Entire page should load without errors
What happened instead: All of the Frontend Settings dropdowns do not load their content (sidebar order loads partial content). This seems to have been introduced in 2024.7.1, as it was working in 2024.7.0.
Here is the line in the PR which broke it. You need to either provide a localize function or the hass
object when using ha-data-table
.
Minimal steps to reproduce:
- Install browswer-mod via HACS.
- Open developer tools console.
- Open the browser-mod settings page via the sidebar. Note the repeated errors.
- Scroll to the bottom of the page and expand the frontend settings dropdowns. Note how most of them are empty and/or missing content.
NA
Error messages from the browser console: This error repeasts 30+ times per render.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'localize')
at i.value (ha-data-table.ts:323:53)
at i.update (lit-element.ts:160:24)
at i.performUpdate (reactive-element.ts:1329:14)
at i.scheduleUpdate (reactive-element.ts:1261:17)
at i._$Ej (reactive-element.ts:1233:25)
By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:
-
[x] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
-
[x] Have made sure I am using the latest version of the plugin.
-
[x] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
-
[x] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.