question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load automations on startup

See original GitHub issue

Describe the bug Add-on does not load at all. nothing is shown on screen except for an error: Failed to load automations from /config (‘near “OFF”: syntax error’,)

To Reproduce Steps to reproduce the behavior:

  1. Run shortumation

Expected behavior Expected to see the shortumation UI with all automations

Screenshots image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version: 104.0.5112.102 (Official Build) (64-bit)

HA Hardware:

  • Home Assistant OS
  • Raspberry Pi 4 4GB with external SSD

Additional context

  • I have used the shortumation UI previously, it was after one of the updates of either the add-on or the OS updates that the problem started
  • I have tried restarting the add-on
  • I have tried restarting the HA hardware
  • I have tried uninstalling the add-on and installing again

Shortumation Logs

>  /app /app
> --------------------
> BUILD_VERSION = v0.6.3
> HOST = 0.0.0.0:8000
> HASSIO_WS = 
> Python 3.10.6
> --------------------
> [2022-08-31 12:05:38 +0200] [8] [INFO] Running on http://0.0.0.0:8000 (CTRL + C to quit)
> 2022-08-31:12:05:38|INFO[/usr/local/lib/python3.10/site-packages/hypercorn/logging.py:92@info] Running on http://0.0.0.0:8000 (CTRL + C to quit)
> 2022-08-31:12:07:02|INFO[/app/src/automations/loader.py:73@extract_automation_root_refs] Loading automations from 'automation'
> 2022-08-31:12:07:03|WARNING[/app/src/automations/manager.py:69@reload] near "OFF": syntax error
> 2022-08-31:12:07:11|INFO[/app/src/api/routes/socket.py:30@wait_for_data] Websocket closed.
> 2022-08-31:12:07:11|INFO[/app/src/ws_redirect/__init__.py:52@start] Closing socket...
> 2022-08-31:12:07:11|INFO[/app/src/ws_redirect/__init__.py:54@start] Closed socket
> 2022-08-31:12:08:10|INFO[/app/src/automations/loader.py:73@extract_automation_root_refs] Loading automations from 'automation'
> 2022-08-31:12:08:11|WARNING[/app/src/automations/manager.py:69@reload] near "OFF": syntax error
> 2022-08-31:12:12:56|INFO[/app/src/api/routes/socket.py:30@wait_for_data] Websocket closed.
> 2022-08-31:12:12:56|INFO[/app/src/ws_redirect/__init__.py:52@start] Closing socket...
> 2022-08-31:12:12:56|INFO[/app/src/ws_redirect/__init__.py:54@start] Closed socket

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sbcrumbcommented, Sep 1, 2022

All very good questions. Could be old stuff from my old install as I recently movd off a Pi to a NUC.

1reaction
MidnightZAcommented, Sep 1, 2022

@asosnovsky V0.7.0 fixed the issue for me. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automations not loaded at startup - Home Assistant OS
Basically my automation component does not load automatically after a system restart, and I have to manually reload my automations.
Read more >
Home Assistant Automation Error - Reddit
I can open and edit automations.yaml in the /config directory. I have rebooted core, supervisor, host machine and updated and rebooted the ...
Read more >
Automation integration not loading · Issue #46437 - GitHub
The problem I frequently get this error when HA restarts: Logger: homeassistant.setup Source: ... Automation integration not loading #46437.
Read more >
Automation - onlinesubsystemnull Error at Startup
Hi all, I start the game and am met with this error at startup. I've tried verifying files, reinstalling the game after uninstalling, ......
Read more >
Severe Error on Startup - Ignition - Inductive Automation Forum
Sounds like trying to use the web browser module on an unsupported platform. Or a v8 designer on a platform without Chrome support....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found