I’m using HA iOS Companion App 2024.9.4. A new feature was introduced in the release called “Required confirmation option” for the Apple Watch action buttons. When tapping an action button, a dialog box pops up to ask “are you sure”? I don’t want to use this feature, but the feature is now happening with all of my action buttons. The blog description for the feature says it is a customization, but I can not figure out how to turn it off. How can I turn off this feature?
My actions are defined in HA’s configuration.yaml file with the ios: actions: tags.
Open the app on your phone
Settings, Companion app, Apple watch configuration
Tap on your item and you can uncheck the require confirmation setting.
I am not able to tap on the item when the item is an iOS action. While looking around just now I saw the warning:
We will stop supporting iOS Actions in the future, please consider using Home Assistant scripts or scenes instead.
I’ve changed my iOS actions to scripts which now allows me to uncheck the require confirmation setting for the scripts.
Apologies for the rookie question, but how, exactly, does one change their iOS actions to scripts?
I had the iOS actions defined in configuration.yaml like this:
ios:
actions:
- name: 'Open Garage'
label:
text: 'Open Garage'
icon:
icon: arrow_up_bold_outline
with the automation:
- id: garage_control_open
alias: 'Garage Control Open'
mode: single
max_exceeded: silent
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: 'Open Garage'
action:
- service: cover.open_cover
target:
entity_id: cover.garage_door
I removed both of these and replaced them with the script:
garage_control_open_watch:
alias: 'Open Garage'
icon: mdi:arrow-up-bold-outline
mode: single
max_exceeded: silent
sequence:
- service: cover.open_cover
target:
entity_id: cover.garage_door
On the HA companion app on my iPhone in the Apple Watch Configuration section I deleted the references to the iOS actions and added the new scripts.
@stu247 My girlfriend has absolutely no scipts in the new config menu in the companion app. The only thing available are the old actions. What am I missing? Where and how exactly did you add the script? I’m an Android user, so I’m not exactly sure what to do.
Did you add it directly under “ios:”?
Edit: Never mind, I found the issue. Seems that I somehow managed to delete “ios:” in the configuration.yaml file.
While you found it, I just wanted to add this to others stumbling across this post. I needed a toggle for all my Living Room lights, and it took a lot of extra searching for a solution that doesn’t require me to dig up the config files and try to get the syntax right and want to save others that time.
I first created a script (I did this in the Web UI, but the same actions work in the iOS app):
- Navigate to Settings → Automations & scenes → Scripts.
- Click ADD SCRIPT (in the bottom right).
- Click Create new script.
- Click ADD ACTION.
- Click Light.
- Click Toggle.
- Click Choose area.
- Click Living Room.
- Click SAVE SCRIPT (in the bottom-right).
- Enter
Toggle Living Room Lights
. - Click the back-arrow in the top-right.
Now this script is available in the companion app to add to the watch. In the iOS do the following:
- Tap the hamburger menu (☰).
- Tap Companion app.
- Tap Configuration.
- Tap + Add item.
- Select the newly created script (in my case Toggle Living Room Lights).
- Tap the close button in the top right.
- Tap Save.
Now I have a toggle that doesn’t require me to approve every action!