Skip to content

[Bug]: browser_entities template variable is undefined #1042

@jadero

Description

@jadero

My Home Assistant Version

Core 2025.9.4
Frontend 20250903.5
Browser Mod 2.5.3

What I am doing

Installed browser mod according to the documentation, registered my browser in browser mod panel, refreshed browser tab (F5).

What I expect to happen

In templates I am provided with a dictionary variable called browser_entities. I want to read this variable to detect if the dark theme is currently enabled or not.

What happened instead

I tried to read this variable in the template editor via {{ browser_entities }} but it only says 'browser_entities' is undefined.

Minimal steps to reproduce

see above

Include any yaml code here

{# this variable is not defined, although my browser is registered and I can see a bunch of new sensors including binary_sensor.browser_mod_<id>_browser_dark_mode #}
{{ browser_entities }}

Error messages from the browser console

-

By checking each box below I indicate that I ...

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • Have made sure I am using the latest version of the plugin.
  • 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.
  • If this issue is to do with an Android device losing connection, sensors becoming unavailable etc., please confirm you have read, understood and tried methods described in Wiki Article Andoird Devices 'Always On'

Metadata

Metadata

Assignees

No one assigned

    Labels

    beta release availableIssue fixed in a beta release which is available for testing.documentationImprovements or additions to documentationuser assistanceUser requires assistance with using Browser Mod

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions