

With Shortcuts Personal Automation, you can get the best of both worlds - by using iOS triggers to execute Home Assistant actions. The result provided by the Shortcut itselfĭictionary, keys error-Code and errorMessageĮrror description from the Shortcuts app if failure The event fired is ios.shortcut_run with the result of the Shortcut with the following keys: Key Once you complete the Shortcut, it'll return you to Home Assistant and fire an event. Check for the event being performed to see the results. If the Shortcut doesn't require any input, it may appear as though the Shortcuts app wasn't launched at all. You can trigger a Shortcut from Home Assistant using a notification like so:

Back Tap (iOS 14) - Under iOS Settings > Accessibility > Touch > Back Tap, you can launch any Shortcut via double tapping or triple tapping the back of your iPhone.Įxecuting a Shortcut via Home Assistant Notifications .Push Notification - Shortcuts can be launched via push notifications.You can customize the name and provide a custom icon if you wish. Add to Home Screen - When editing any Shortcut, press the (.) button in the top right to see options, and press the "Add to Home Screen" button.From here you can type the name of a Shortcut and run it with one tap. Spotlight Search - When on your iOS device Home screen, swipe down from the center of your Home screen to bring up Spotlight search.Apple Watch (watchOS 7) - With iOS 14 and watchOS7 you can launch Shortcuts from either the Shortcuts Apple Watch app, or via complications on the Siri watch face.There is a search bar at the top to quickly filter your list of Shortcuts if needed. Shortcuts app - On the "My Shortcuts" tab, simply tap on the shortcut you want to launch.
GOOD IOS SHORTCUTS PLUS
At the bottom of the widgets screen, press "Edit" and then the green plus button to add the widget to your Today View.

You can call any service set up in Home Assistant (see the Services Page in Developer Tools). By default empty fields will try to use data on your device's clipboard if no other flow or payload data is provided. These data can come from other apps or other actions provided by Home Assistant, such as Render Text to get the state of an entity in Home Assistant. In the previous example we will used the Dictionary action to define our service data, this is an example of one action provide data to a subsequent action in the Shortcut flow. The final shortcut should look similar to this: Shortcut Flow

