Disable hash template variable and updates
By default, UIX exposes hash as a template variable and updates templates when the URL hash (#...) changes. UIX provides an option to disable this behavior to avoid hash-driven rebinds and Forge updates.
Setting via the integration UI
The option is unset by default. To set the option:
- In Home Assistant, go to Settings → Devices & Services → UI eXtension → Configure.
- Select Performance settings from the menu.
- Toggle Disable hash template variable and updates on.
- Save.
The setting takes effect immediately across all connected browser sessions — no page reload required.
Behavior when set
When this option is set:
- The
hashtemplate variable is not available. - Hash-only URL changes do not trigger UIX template rebinds.
- Hash-only URL changes do not trigger UIX Forge updates.
Warning
Any template that references hash without default will error while this option is set because hash variable is unavailable. If you wish to have this option both set and unset you will need to set a default if you use hash variable in templates. e.g. {{ hash | default("") }} or is using in more complex templates set a local variable and then use that variable. {% set hashWithDefault = hash | default("") %}