iOS
iOS copied to clipboard
Home Assistant Companion on macOS randomly opens on its own
Device model, version and app version
Model Name: MBP 14" 2021, M1 Max macOS Version: 13.5 App Version: 2023.4 (2023.460) Safari Version: 16.6 (18615.3.12.11.2)
Home Assistant Core Version
2023.8.1 (and numerous prior versions)
Describe the bug
The macOS Companion app will launch itself on my Mac without any action on my part. It is not due to e.g. an incoming notification. I have observed this behavior intermittently for ~months.
Others experiencing the issue: https://community.home-assistant.io/t/how-does-the-mac-app-keep-autostarting/583922 https://community.home-assistant.io/t/how-to-stop-ha-from-opening-automatically-on-macbook-pro/404429 https://community.home-assistant.io/t/macos-app-randomly-launching-itself/559377
To Reproduce
Expected behavior
Screenshots
Additional context
Thank you!
I second that (MacOS 13.5 via OpenCore legacy patcher on a Non-Retina-Mid2012 MacBookPro 9.1)
Not sure if this is related, but I just submitted this "bug" because it always opens on restart.
https://github.com/home-assistant/frontend/issues/17626
It seems that usernoted
requests launchd
to start the Home Assistant companion application. It was stopped since 3:10 PM. Note how the application was launched almost exactly on the next hour.
FWIW, in my case I narrowed this down to Home Assistant.app being enabled in System Settings / Privacy&Security / Focus. If I disable it there, it stops auto-launching.
Looks like the app gets called by the OS even when it is disabled (or not present!) in the Login/background items pane.
Confusingly, no apps I know for detecting launching hooks (Knock Knock, Lingon X) can detect this. So if this is the actual launch mechanism, sounds to me like a malware problem waiting to happen.
FWIW, in my case I narrowed this down to Home Assistant.app being enabled in System Settings / Privacy&Security / Focus. If I disable it there, it stops auto-launching.
@hmijail Nice! ..that sorted it for me as well 👍
FWIW, in my case I narrowed this down to Home Assistant.app being enabled in System Settings / Privacy&Security / Focus. If I disable it there, it stops auto-launching.
Unfortunately that does not help me. The HA app launches every time I restart my Mac. I only want it to run in the background.
BTW, have any devs addressed this issue? Seems to be ignored...
FWIW, in my case I narrowed this down to Home Assistant.app being enabled in System Settings / Privacy&Security / Focus. If I disable it there, it stops auto-launching.
Unfortunately that does not help me. The HA app launches every time I restart my Mac. I only want it to run in the background.
BTW, have any devs addressed this issue? Seems to be ignored...
same here, it would be great if this issue could be addressed
FWIW, in my case I narrowed this down to Home Assistant.app being enabled in System Settings / Privacy&Security / Focus. If I disable it there, it stops auto-launching.
Model Name: MBP 13" 16GB 2021, M1 Max macOS Version: 14.1 Sonoma Beta (23B5056e) App Version:Removed companion app Safari Version: 16.6 (18615.3.12.11.2)
Home Assistant Core Version
2023.8.1 (and numerous prior versions)
Describe the bug
The macOS Companion app will launch itself on my Mac without any action on my part. It is not due to e.g. an incoming notification. I have observed this behavior intermittently for ~months.
Others experiencing the issue: https://community.home-assistant.io/t/how-does-the-mac-app-keep-autostarting/583922 https://community.home-assistant.io/t/how-to-stop-ha-from-opening-automatically-on-macbook-pro/404429 https://community.home-assistant.io/t/macos-app-randomly-launching-itself/559377
To Reproduce
Expected behavior
Screenshots
Additional context
Thank you!
Same issue happening on my 2020 M1 MBP running the Beta Sanoma 14.1 (23B5056e). Went in and disabled under focus and will see if it keeps opening itself. I found that behavior quite odd as well- of course coming from a MS background not unusual until I thought that since I switched to Apple hardware- behavior is unix-like... as in things do what you expect them to nearly without fail if setup correctly. I certainly never expect a companion app to open itself when I have not told to open itself at login.
edit: Fail. Opened itself again. Checked and still turned off in focus. I'll follow the bug to see if there is anything I can contribute.
Same here, 2020 MacBook Air with Intel i7 running on MacOS Sonoma 14.0, will be trying disabling with Focus mode
Same here in Ventura 13.5.1. I have now disabled HA in Focus. Hoping that will help.
Same here, 2020 MacBook Air with Intel i7 running on MacOS Sonoma 14.0, will be trying disabling with Focus mode
Can confirm it hasn't opened at all since.
Happening to me, too.
Just started happening for me too.
Same problem for me. Very strange...
iMac Retina 5K, 27-inch, Late 2015
Had the same issue, after reading this thread I disabled focus access and haven’t had the app open itself in months now. Strange that this doesn’t work for everyone.
It’s still doing this constantly. It’s 100% not in my login items or allow in background. I’ve disabled Focus access. I’ve also disabled nearly all sensors leaving only battery state, battery level, and storage on. And still it opens every hour or so.
Same and still here .. MBP M1 Pro 14" 2021 / Sonoma 14.3.1
Happening to me as well and when it opens it's blank. M3 Pro 14" 2023 / Sonoma 14.4
Same for me. MBP M1 Pro 14" 2021 / Ventura 13.6.3
Had to uninstall. Definitely is the focus launching it. One of the updates now causes it to not crash but instead it has a memory leak which caused my Mac to slow down until I noticed it was "using" 70 GB of memory
I can report this is still happening, driving me nuts, especially because it is most noticeable when I'm at work and don't even have access to HA being off my network.