Skip to content
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

Cannot edit element's dependencies in Lovelace UI — navigation error #23765

Closed
4 tasks done
Sairond opened this issue Jan 16, 2025 · 3 comments
Closed
4 tasks done

Cannot edit element's dependencies in Lovelace UI — navigation error #23765

Sairond opened this issue Jan 16, 2025 · 3 comments

Comments

@Sairond
Copy link

Sairond commented Jan 16, 2025

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

When attempting to edit dependencies of an object in the Lovelace UI (e.g., automations or scripts), the interface does not navigate to the editing page. Instead, an error occurs, and the UI remains on the current panel. This happens on all Lovelace panels and dashboards.

The issue occurs across all platforms (Windows, macOS, iOS) and in the Home Assistant mobile app. Clearing the cache, reinstalling Home Assistant, and restoring from a backup does not resolve the problem.

Additionally, after selecting "Dependencies," the interface correctly displays a list of dependencies (e.g., automations/scripts), but after selecting a specific dependency and click "edit" - UI fails to navigate to the corresponding editing page.

Describe the behavior you expected

I expect the interface to correctly navigate to the editing page for the selected dependency, such as automation or script editing, regardless of the type of panel or dashboard.

Steps to reproduce the issue

  1. Open Lovelace UI.
  2. Long-press an object icon to open the details view.
  3. Click "Dependencies."
  4. Select a specific dependency (e.g., automation or script) from the list.
  5. Click "edit"
    Observe that the UI does not navigate to the editing page and remains on the current panel. An error is logged in the browser console.

What version of Home Assistant Core has the issue?

core-2025.1.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

Google Chrome: Version 132.0.6834.84 and Mobile (IOS/Android) app HomeAssistant

Which operating system are you using to run this browser?

macOS Sonoma, win11, iOS 18

State of relevant entities

Problem-relevant frontend configuration

Javascript errors shown in your browser console/inspector

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'dialogTag')
    at h (make-dialog-manager.ts:177:59)
    at async a (navigate.ts:28:5)
h @ make-dialog-manager.ts:177
await in h
a @ navigate.ts:27
value @ ha-more-info-dialog.ts:243
handleEvent @ lit-html.ts:2018
fireRequestSelected @ mwc-list-item-base.ts:247
(anonymous) @ mwc-list-item-base.ts:92
(anonymous) @ observer.ts:49

Additional information

This issue is reproducible on all Lovelace dashboards and any elements where dependencies are edited. The problem occurs in safe mode, and no custom components are in use. The error affects both desktop and mobile platforms, including the iOS app. I also did a fresh clean install of HA, the error is reproducible.

Image Image Image
@wolph
Copy link

wolph commented Jan 22, 2025

I can verify... a very annoying issue since this is a workflow I use multiple times a week/day :)

@TheQue42
Copy link

I've had this as well, and just updated. Same problem. Then, while searching for a ticket in this, and just before writing "The problem still exists in 1.4", I tested again....now it seems solved?

@Sairond
Copy link
Author

Sairond commented Jan 24, 2025

I confirm that the issue has been resolved in version
Core 2025.1.4
Operating System 14.1
UI 20250109.2

@Sairond Sairond closed this as completed Jan 24, 2025
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