home-assistant / home-assistant/iOS
Notification with shortcut won't pass any data to the shortcut
- 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 I pass data to an iOS shortcut, the shortcut receives nothing.
**To Reproduce**
Create an iOS shortcut with a single message box that shows the input to the shortcut (by default it will accept anything, i.e., images and any of the other 18 allowed types, in Italian "Immagini e altri 18")

Call service:
```
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"
mytext: "this is my text"
```
**Expected behavior**
The messagebox should show the input data, I guess a dictionary with mytext. It shows nothing instead.
**Screenshots**

Contributor guide
Assessment
This issue has not been assessed yet.