home-assistant / home-assistant/iOS

App suddenly opening in foreground, intrusive

Open
#2,459 11 comments 0 reactions 1 assignee Claimed by @bgoncal View on GitHub
bug mac
Dominant language
Swift
Stars
2.4k
Forks
520
Avg merge
7h 27m
Merged PRs (30d)
264

Description

**Device model, version and app version**

Model Name: MBP 14-inch 2021, Apple M1 Pro, 16 GB (MKGR3LL/A)
macOS Version: 14.0
App Version: 2023.471
Safari Version: 19616.1.27.211.1

**Home Assistant Core Version**
2023.11.2

**Describe the bug**
Whenever my home assistant macos app is prompted, it opens up intrusively in the foreground.

This happens whenever i prompt all my devices for a location every hour, my mac included.

**To Reproduce**
1. close home assistant
2. use automation or developer service caller to send notification
3. observe opening in the foreground for no reason

**Expected behavior**
Opening in the background, without stealing focus

**Additional context**
This is exacerbated with another problem, as this causes home assistant to almost always run in the background, where it sometimes steals massive amounts of CPU for no reason, and bloats memory; https://github.com/home-assistant/iOS/issues/2389

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.