Please remove javascript_version from your frontend config

I am seeing this error in log. Is it saying to remove the trailing v=… bit from this??

    mode: yaml
    resources:
      - url: /local/custom_ui/ha-sankey-chart.js?v=1.13.0
        type: module
      - url: /local/custom_ui/hui-element.js?v=1.0
        type: module

error:

Logger: homeassistant.components.frontend
Source: components/frontend/__init__.py:335
Integration: Home Assistant Frontend (documentation, issues)
First occurred: 7:26:40 AM (1 occurrences)
Last logged: 7:26:40 AM

Please remove javascript_version from your frontend config. It is no longer supported

Did you resolve this?

I’ve just got the same error after a few HACS custom integration updates and a restart.

I have this in my configuration.yaml as part of the LCARS theme:

frontend:
  javascript_version: latest
  themes: !include_dir_merge_named themes

A restart threw up this error:

Logger: homeassistant.components.frontend
Source: components/frontend/__init__.py:357
Integration: Home Assistant Frontend (documentation, issues)
First occurred: 14:20:55 (1 occurrences)
Last logged: 14:20:55

Please remove javascript_version from your frontend config. It is no longer supported

The javascript_version config option for frontend: is no longer a valid option. You need to remove it from your configuration.yaml.

See the docs: Home Assistant frontend - Home Assistant

That config option has been deprecated since late 2019/early 2020.

1 Like

Thanks for clarifying. I’ve only been using Home Assistant since January this year :laughing: