Error while loading page automation. After upgrade HA to 2022.2.0

I have encounter this problem after upgrade HA to 2022.2.0, i try to remove all configure in automation.yaml and remove all about automation entities then restart HA , but still occurs the issue. Can anyone give me some advice on how to fix it?

HA show this log after i access the automation page.

https://xxx.duckdns.org:8123/frontend_latest/c655194d.js:555:10261 SyntaxError: expected expression, got '='

Somewhere in your Lovelace config you have = when you should have ==.

Thank you for the suggestion. I’m not sure where to adjust lovelace configure because I’m using yaml mode. However I tried to open automation page by using other browsers. it can be open normally.

Thank you.

Hello

I have the same error, with Safari browser 13.1.2, yes I know, this is old but this Mac get no updates :slight_smile:

From Firefox no error.

The log is:

Logger: frontend.js.latest.202202030
Source: components/system_log/__init__.py:190 
First occurred: 23:07:40 (6 occurrences) 
Last logged: 23:16:30

http://machinename:8123/frontend_latest/c655194d.js:555:0 SyntaxError: Unexpected token '='

In modern Safari’s this error not happens.

Can you tell us where to look? If no solution I can live with Firefox in this computer.

Thanks!

Hi all.
I have two installation of home assistant over two raspberry pi4; with 2022 version when i try to load the automation page i receive this message:
Error while loading page automation.
GO BACK
AND THE REGISTER SAY THIS: /frontend_latest/c655194d.js:555:10261 SyntaxError: expected expression, got '='
i have never edited Lovelace config by hand, and i use Firefox on a MacOs El Captain

i have reverted to version 21021.12.10 for the third time.

Exactly the same issue for me after upgrading home assistant, with the same version of safari.
It works on IOS and on Firefox.
Any idea ?

Today I upgraded 2022.2.9 everything is back to normal. I already can access the automation page.

Just for the case that someone stumbles over this thread when searching for the same issue for newer versions:
I hab the issue when upgrading to the 2024.1.1.
I could not open automations & scenes nor devices & services.

The solution was to reload all configuration files and shutdown the app (Android) completely.

After reopening the app, everything worked well.

2 Likes