Skip to content

Uncaught error from WebKit 605.1.15 on iOS 18.7/macOS 10.15.7: ReferenceError: Can't find variable: elementId #4425

@iSteve-O

Description

@iSteve-O

iOS device model, version and app version
Model Name: iPhone 16 / iPad Pro (M4) / MacBook Pro (M4)
Software Version: 26.3.1 (all)
App version: 2026.2.1 (2026.1766) (all)

Home Assistant Core Version
2026.3.1 (bug started with 2026.2.0, I believe)

Describe the bug
Any time I open a dropdown menu in the companion app on either the iOS or macOS apps I get the error below in the logs. The logs below are from selecting add-on logs and selecting entities in automations from the drop-downs, but I think it is every drop-down. It does not happen when using the same drop-downs in a browser.

To Reproduce
Open the companion app to the logs page and select the dropdown to pick another add-on log and the error should come into the core logs immediately.

Open an automation or create a new one. Add an action to turn off a light. Select an entity from the drop-down & then check the core logs.

Expected behavior
No errors when drop-downs are used.

Additional context
Log entries:

2026-03-10 00:22:49.744 ERROR (MainThread) [frontend.js.modern.202603040] Uncaught error from WebKit 605.1.15 on macOS 10.15.7
ReferenceError: Can't find variable: elementId
/config/automation/edit/1736929525315:24:57
global code (/config/automation/edit/1736929525315:28:3)

2026-03-10 00:23:16.812 ERROR (MainThread) [frontend.js.modern.202603040] Uncaught error from WebKit 605.1.15 on macOS 10.15.7
ReferenceError: Can't find variable: elementId
/config/logs:24:57
global code (/config/logs:28:3)

2026-03-10 00:24:05.564 ERROR (MainThread) [frontend.js.modern.202603040] Uncaught error from WebKit 605.1.15 on iOS 18.7
ReferenceError: Can't find variable: elementId
/config/logs:24:57
global code (/config/logs:28:3)

2026-03-10 00:24:18.371 ERROR (MainThread) [frontend.js.modern.202603040] Uncaught error from WebKit 605.1.15 on iOS 18.7
ReferenceError: Can't find variable: elementId
/config/automation/edit/1703159550145:24:57
global code (/config/automation/edit/1703159550145:28:3)

I really appreciate your hard work on the app!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions