home-assistant / home-assistant/iOS

Notification will return to companion app in iOS if shortcut is canceled even with ignore_result

Open
#2,365 0 comments 0 reactions 0 assignees View on GitHub
bug ios
Dominant language
Swift
Stars
2.4k
Forks
520
Avg merge
7h 27m
Merged PRs (30d)
264

Description

**iOS device model, version and app version**

Model Name: iPhone 13 mini
Software Version: iOS 16.4.1 (a)
App version: Home Assistant Companion 2023.4 (2023.460)

**Home Assistant Core Version**
Home Assistant 2023.5.3

**Describe the bug**
When an iOS shortcut is launched through the companion app with the ignore_result defined, the shortcut returns to the companion app if the shortcut is cancelled.

**To Reproduce**
```
service: notify.mobile_app_gkipdm
data:
message: The garage door has been open for 10 minutes.
title: Your Garage Door Friend
data:
shortcut:
name: "Test1"
ignore_result: "ignore"
```

**Expected behavior**
If the shortcut is cancelled, it should not return to the companion app. It returns instead.

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.