Continue Discussion 127 replies
September 2024

apreick

I updated the new Home Assistant app on my iPhone today and of course I still have IOS 17.6.1.

Now the Apple Watch is reporting this “error”

incoming-26C17B76-48CC-4030-8D2A-EBADAB9F8919

I was in the Homeassistant app on my iPhone and saved the configuration according to these instructions.

But I still get this “error”

1 reply
September 2024 ▶ apreick

fleskefjes Regular

If you translate it that would probably be easier.

1 reply
September 2024

apreick

No watch configuration available. Open the iOS app and create your configuration in the Companion app settings.

September 2024

apreick

Everything worked fine before the app update

Configuration is directly in Yaml

actions:
  - name: Aqara
    background_color: "#000000"
    label:
      text: "Aqara"
      color: "#ffffff"
    icon:
      icon: motion-sensor
      color: "#ff0000"

Looks good, but does not work on the watch

September 2024

apreick

Sorry, seems to have been resolved :wink:

Briefly went back to the iPhone, app reported like “Search server” but rather because of location always allow. Then the app opened normally on the phone and it now works on the watch :v:

incoming-91274C7A-9427-4DF3-8CA3-A30071841C89

September 2024

netmikey

Hey guys, thanks so much for the hard work you’re putting into this! :pray:

Allow me to take this opportunity to mention my #1 issue with the iOS App: the fact that it doesn’t support dynamic type. The font is way too small for some people and adhering to what is configured in “Settings > Display & Brightness > Text Size” would be heaven-sent in terms of accessibility! :blush:

1 reply
September 2024

arganto

The companion apps are literally the only apps on my devices, which are only updating after restart of the device. In every single update on every single device.

So I would like to ask, what is wrong with this app or deployment of updates here?

If I press update, the circle starts to run, most probably it is downloading, but the update is not starting at all. It gets stuck every time on every device on 3/4 of the circle. And even more curious is, that I still can use, shut down the app, etc. Every other up is then already in pause mode. And a prioritize download isn’t working either. And stop update (to restart it) isn’t working either.

Is is only working, if I restart the device and then start the update again.

As said, every update (at least the last 3-4) on every device (several (different) iPhones, iPads, …

2 replies
September 2024 ▶ arganto

bgoncal

Apple manages the installation process, your feedback is the first I read related to that, does it happens for iOS, watchOS and macOS? Or just one of those?

1 reply
September 2024 ▶ netmikey

bgoncal

Good point, added to my backlog

1 reply
September 2024 ▶ bgoncal

netmikey

Thanks so much :slight_smile:

1 reply
September 2024

norman198

If I see it correctly, there is no way to add the “confirmation required” option to existing iOS actions?

And when iOS Actions are no longer supported in the future, what is the best way to add actions/scripts server-side (with custom colors) to all iOS devices?

1 reply
September 2024 ▶ norman198

bgoncal

Correct, confirmation is a feature made for newer item types such as scripts.

Currently there is no way to customize server side your scripts or scenes colors, no decision has been made yet how or if this will be added, for now if you really need this flexibility, stick to iOS Actions.

1 reply
September 2024

norman198

Thanks for the quick answer. Hope to see it in a future release!

September 2024

golles

First of all, thank you @bgoncal for all your hard work!

  1. I seem to be missing or misunderstanding this. I’ve added the 5 buttons to the Control Center same as in the image in the blog post, but clicking on them doesn’t seem to do anything. The light button turns amber for a fraction, the script and scene buttons turn blue for a second and the open page does open the app

  2. In the companion app settings, watch, and configuration, there is a toggle for show assist. I’ve got this on but I don’t see assist anywhere on the watch.

  3. The actions on the watch do not respect the label color defined in yaml instead they are all white. The background_color and icon color do seem to work.

iOS: 2024.9 HA: 2024.9.2 iOS: 18.0

1 reply
September 2024

logarythms

Is there a reason why Actions cannot be used in Control Center controls? :slight_smile:

1 reply
September 2024 ▶ golles

bgoncal

Hey there, so, let’s go one by one:

1 - Make sure you open the App at least once after updating, then when adding a control widget, while in edit mode, you can tap on it to configure and choose script/scene/light etc.
Known issue: Scenes are not activating, I am working on a fix.

2 - Currently Assist is only showing up on watchOS 10+, it’s a beta feature and we are improving it in small steps, but good feedback, I should mention it somewhere.

3 - Can you share your yaml? How does it looks in a home screen widget?

1 reply
September 2024 ▶ logarythms

bgoncal

iOS Actions is not something we will move forward with in the future, we will keep supporting it but new features will be guided over the usage of scripts instead of iOS Actions.

“iOS Actions” is a concept that only exist in iOS (it’s actually called actions, but since HA services were renamed to actions I have to call iOS Actions :smiley: ) so we are aiming to focus our efforts on cross-platform approaches such as scripts which can also be used in Android.

1 reply
September 2024

davidnestico

Super buggy right now unfortunately in my experience.

Couldn’t choose an icon for the script, it would load list of icons then t just kept saying “couldn’t load” after scrolling even though app was open in background. It then didn’t let me add a script at all unless the app was opened. I’m used to iOS actions so gonna have to migrate them all soon I guess to keep it up to date.

September 2024 ▶ bgoncal

logarythms

Thanks for the clarification and for the great work on the app! :slight_smile:

September 2024

bgoncal

Heads up:
I’m preparing v2024.9.1 with some fixes for scripts and scenes controls, tinted widgets and Assist on older Apple Watches.

Fixes:

1 reply
September 2024

moshiko2312

Please this is important
Do permission for not admin user.
Because now if user is not admin he can get all scripts and automation, its not good.
Like CarPlay user not admin can do all on the system.
Please please fixing that issues.
Thanks for your great job

1 reply
September 2024 ▶ bgoncal

arganto

iOS and iPadOS. Different Versions (17.6.1 and below), different devices (Phone 11, 13, 15 and Pad 2021, 2023 and older Pro).

September 2024

parautenbach

It’s not only a client feature to build.

September 2024 ▶ bgoncal

golles

Thanks for your quick response!

  1. ah now I get it. Now I have an issue that the color of the control doesn’t match the actual state of the light. It seems long tap is causing this inconsistency.

  2. in the screenshot I see it should show in the right top, but I see the time there. But would be good indeed to clarify that.

  3. Three items are defined here: Home-Assistant-Config/packages/ios/zonnescherm.yaml at 0be6486e4e66b9683947b76e8670686ebbb01f8a · golles/Home-Assistant-Config · GitHub
    On the widgets, they show correctly (except the extra large one on Mac), on the watch the text color is always white.


1 reply
September 2024

simon-bd

Please make the modular widget available for the Modular Ultra so the users of the ultra watches can have home assistant on their home screen as well!

September 2024

wgumaa

Thanks for this! I like the idea of moving away from iOS actions to scripts. Naturally I tired that but run into a little problem. The customisation of icon colour and background doesn’t want to work. I want brown icon which I select from the menu and black background with white text. I save but the icon reverts to black. Anyone else experience that on apple watch.

1 reply
September 2024

bgoncal

This PR has a screenshot with minimum font size, default font size and max font size using Apple watch text size picker. Let me know if this is an improvement to you.

1 reply
September 2024 ▶ golles

bgoncal

My PR above will also solve this issue

September 2024 ▶ bgoncal

netmikey

I don’t own an Apple watch (precisely because of its tiny text sizes), I was talking about the lack of dynamic type in the HA iOS App.

But to answer your question: Yes, this sure looks like a big improvement, it would be great to see this make its way into the iOS App!

1 reply
September 2024 ▶ netmikey

bgoncal

The iOS App is mainly a webview presenting the HA web UI, so the App can’t control font sizes inside of it, you can try “page zoom” as an alternative solution (Companion app settings >> general >> page zoom)

1 reply
September 2024 ▶ wgumaa

khuntop

Yeah I have the same issue. really annoying.

1 reply
September 2024 ▶ khuntop

bgoncal

Can one of you send a quick screen recording showing the behavior?

1 reply
September 2024 ▶ bgoncal

wgumaa

Sure! But it won’t allow me to upload a video. Maybe DM a location to upload the video.

1 reply
September 2024 ▶ wgumaa

bgoncal

You can host anywhere you prefer, like google drive

1 reply
September 2024 ▶ bgoncal

wgumaa

@bgoncal

Try this.

https://drive.google.com/file/d/1BE2tGsgmBog-QErefCLgGUl2SsQHK3Rg/view?usp=drivesdk

2 replies
September 2024 ▶ wgumaa

wgumaa

Forgot that I was listening to music at the same time. :joy:

September 2024 ▶ bgoncal

netmikey

Ok, it’d be up to the page loaded into the Webview (the HA-Core UI I guess?) to set the appropriate CSS. I did this myself in the past with an app that was also just a Webview and it worked great. Any chance you could pass the message to the appropriate team at Nabu Casa? :sweat_smile:

See e.g.: How to support Apple's dynamic type in your web content with CSS - DEV Community

1 reply
September 2024 ▶ wgumaa

bgoncal

Wow, I should have read your second message and turned my speaker volume down hahaha

Quick question, did you hit save or back after changing the icon color? Does any other color works?

1 reply
September 2024 ▶ netmikey

bgoncal

Please open a feature request to frontend, I could forward your request but this can easily lost track, please use home assistant community for the feature request and follow up.

If you want you can send me the link of your feature request and I can forward to frontend devs.

1 reply
September 2024 ▶ bgoncal

bgoncal

I just released in App Store, it should be available in a few moments

September 2024 ▶ bgoncal

netmikey

Sure, here we go: Support dynamic type on iOS (Web & App)

It’d be awesome if you could forward it :slight_smile:

September 2024 ▶ bgoncal

wgumaa

I did hit save. It’s with all colours and even different scripts. I recreated all my iOS actions this morning to scripts.

1 reply
September 2024 ▶ wgumaa

bgoncal

There is a reset button at the bottom of the screen, can you try to reset and start over? I can’t reproduce this issue on my side

3 replies
September 2024

Jarne_Roussard

Hello @bgoncal I just installed the update v2024.9.1. It has fixed the problem with the script, great! However, in the control panel, I still can’t operate the assistant; it does nothing when I click on it, but it does work via the widget. Is this already known to you? Thanks in advance for this great update!

1 reply
September 2024 ▶ Jarne_Roussard

bgoncal

Did you configure the Assist control? when in edit mode, tap on it to choose your Assist pipeline

September 2024 ▶ bgoncal

wgumaa

Same issue. Still the same with icons.

Also I deleted the automations in home assistant that are related to the actions. But the actions still appear. Even after I reset configuration. And restart HA

1 reply
September 2024

teachingbirds

When I put a script in the control center, I get an option to enable confirmation. However this doesn’t seem to do anything. I can only see confirmation mentioned in regards to the apple watch news. Is it not supposed to be possible to have confirmation in the regular control center or is it a bug that it’s not working?

1 reply
September 2024 ▶ teachingbirds

bgoncal

Those are 2 different things, Apple Watch has a “confirmation required before run”, control center has “confirmation notification after run”

September 2024

bgoncal

Weird, must be some issue while updating your watch app, reboot your watch and reinstall HA app on it to see if it shows up

1 reply
September 2024 ▶ wgumaa

bgoncal

You need to delete the actions itself not only their automations

September 2024

EzeCuervo

Thanks for this fantastic update! :partying_face:
@bgoncal, one question: are “switch” entities in roadmap for future releases?
It would be great to have switch control besides lights.

1 reply
September 2024

wgumaa

@bgoncal

I was able to remove the iOS actions as they were coded in the configuration.yaml file.

However the icon colour issue still persists and I tried on my wife’s phone and the same issue. Set the colour and save and still shows black.

September 2024 ▶ bgoncal

khuntop

After watched video that @wgumaa provided. I confirmed it is the same issue I faced. Even re-install the Home Assistant app version 2024.9.1 on my Apple Watch running on watchOS 11 and iPhone 15 pro running on iOS 18 and hit the reset button to start over configure, nothing has been changed. I notice when change the icon or background color to default blue or default green, both of them respect the color change, but when change both of them to default orange or default yellow or custom color, the color is always switched back to black.

1 reply
September 2024 ▶ khuntop

wgumaa

@khuntop never thought about those colours, so I tried and confirm your findings.

Almost same setup. Latest watchOS and iOS. Both on iPhone 14pro and 12pro.

September 2024

Richi44

Great update for iOS companion app, thank you a lot guys. This way one do not need to go into homebridge in order to have icons on control screen. so directly from Home Assistant, thats nice.

One question: how to use new “location permission category” and what is it useful for?

1 reply
September 2024 ▶ EzeCuervo

bgoncal

Yes, coming soon

September 2024 ▶ Richi44

bgoncal

In my case I use it to tell my parents and partner “hey guys, you have to “allow always” HA permission so automations work well" hahaha because iOS sometimes says “this app has been using your location in background, do you want to allow only during app usage?” and then they tap on it because well… for many apps it makes sense but not for home assistant

1 reply
September 2024

domasist

This update to iOS companion up is really useful. Thank you for all the work done.

September 2024

ovidiupw

There was regression introduced by the latest iOS app update (non-preflight version). There are 2 main issues:

  1. “No watch configuration available. Open the iOS app and create your configuration in the Companion app settings” → this one makes the iOS actions configured on homeassistant server side (yaml) unusable as none of the actions is displayed on the watch HA app start screen. I was able to get around this by going in the HA iPhone app to Settings - Companion App - (Apple Watch) Configuration and disabling Show Assist (at the bottom) and then hit Save on the top right of the screen.
  2. The apple watch action text color for all actions is no longer accurately displayed. Instead the color white #FFFFFF is used for all actions’ text.
1 reply
September 2024 ▶ ovidiupw

bgoncal

1 - Thats currently the expected behavior, you need to manually create a watch configuration via your iPhone. The first time you open the configuration screen it automatically migrates your actions.

2 - This issue has been fixed and should be released within iOS app v2024.9.2 (In the next week if no major issue shows up in the beta)

September 2024

Proche72

The watch settings is neat but adding a scene doesn’t add scene icon but takes generic pallete icon. It works with scripts but not with scenes.

1 reply
September 2024 ▶ Proche72

domasist

Yes

Settings > Actions > Scene Actions: shows correct scene icons
Settings > Apple Watch > Configuration: shows only palette which can not be changed.

1 reply
September 2024 ▶ bgoncal

Richi44

As always this is a true story for everybody concerned about privacy, but the other story is to explain them that their locaction is saved at home. But as you wrote long story short :slight_smile:

And what this “location permission category” is for?

1 reply
September 2024 ▶ Richi44

bgoncal

I believe my example in the previous message is one use case, what it “IS” is a sensor that reflects the type of location permission that you provide the iOS app.

“Allow once”
“Allow always”
“Allow during app usage”
“Deny”

(Not sure if those are the exact names)

1 reply
September 2024 ▶ bgoncal

Richi44

Hi @bgoncal thank you for explanation. I thought that this is somehow connected to Apple Watch but it is config for Companion App itself. Sorry for my misunderstanding.

Levels are: Never, Ask Next Time Or When I Share, While Using the App, Alway.

September 2024

petro Great contributor

Hi @bgoncal, are there any plans to provide redirect buttons that can go to specific views? As far as I can tell, we only have the option to create buttons for main dashboards.

1 reply
September 2024 ▶ petro

bgoncal

Currently no plans, but you can access specific views creating a shortcut that opens a URL like:

homeassistant://navigate/lovelace/car?server=Home

This example opens a URL to navigate and also specify in which server if you want

1 reply
September 2024 ▶ domasist

bgoncal

We have detached Scenes and Actions, so to customize the scene icon you have to change it in home assistant itself, in the same screen where you create a scene.

1 reply
September 2024 ▶ bgoncal

petro Great contributor

Nice, that works. Did not notice HA highjacks homeasisstant://, good to know.

September 2024

wgumaa

I have a question. @bgoncal you said that the plan is to move away from iOS actions in favour of scripts. Correct?

And I have done so for Apple Watch (aside from the icon colour customisation issue). But HA for CarPlay doesn’t support scripts.

Is there going to be an option to to display scripts in CarPlay the same way we do for watch?

1 reply
September 2024 ▶ wgumaa

bgoncal

Yes, that’s in progress, there will be a CarPlay configuration screen exactly like for watch

September 2024

MasterDevwi

Thanks for making this so much easier to use!

I currently use the event ios.action_fired to determine which device triggered the action (using sourceDeviceName) and then send a notification back to the device. Is there a way to do this with the new method of adding scripts directly on Apple Watch instead? It doesn’t look like the script_started event knows which device triggered it.

For context, I’m doing this in order to support sub-menus via notifications. Native sub-menus would be even better of course. But since iOS Actions will eventually be deprecated I’d love to have a solution going forward.

1 reply
September 2024 ▶ bgoncal

Proche72

Yes, but it does not work. When you change the icon during creation of the scene and then trying to set the scene in AW tha pallete icon is used eventhough the scene has different icon.

1 reply
September 2024 ▶ MasterDevwi

bgoncal

Currently it is not possible, but suggestion noted :white_check_mark:

September 2024 ▶ Proche72

bgoncal

Got it, I’ll check whats happening

September 2024

Meister1977

The new app doesn’t work with Cloudflare tunnel. It says, the browser is not supported for SSO with google.
It worked fine until now.
I think, until now, HA app used the same webview as the browser?
And now, it is different? Like on Android?
(On amdroid I forked the app, to add a request header to all http request as an API key.)

(UPDATE: I added github as authentication method to the Cloudflare Zero Acces, and I could authenticate with that. So maybe, only google auth changed somehow.)

September 2024

bkr1969

I can’t get my icon color to stay white. Keeps changing back to black.

September 2024 ▶ bgoncal

someone_else5

Here’s another vote for server-side customizations for Apple Watch. My other users will not want to set anything up manually on their side. I’d like to just have them all set the same from the server, so if iOS actions are discontinued, I’m hoping we can still have this capability for scripts and scenes.

September 2024

sbreu03

First of all, I appreciate your work a lot! The Companion App really is getting better and better! Thank you very much for your effort!

My question is: How can I select the page, which „Open Page“ in the Lock Screen - Widget is supposed to open? I tried pressing long when adding the widget, tried to reload the widgets, but I cannot get it to the right page. I just want to Open my default Dashboard, but the current page being opened is the second dashboard.

Thanks in advance.

September 2024

wtadler

As discussed on this GitHub issue, users are having a problem where Apple Watch complications don’t update for several hours, rendering them all but useless. Has there been any progress on this? I have not noticed any improvements with the new version of the companion app.

Everything else is looking great, though!

September 2024 ▶ bgoncal

wgumaa

@bgoncal hey, coming back to the icon colour issue for scripts on Apple Watch. The latest version of the companion app doesn’t even allow you to pick any other colour except black. The picker stays on black and if you choose another colour it still jumps to black. Would you like a screen recording?

1 reply
September 2024 ▶ arganto

deluxestyle

Having the same issue on my iPhone and iPad. Need to restart the device to complete the update

September 2024

bgoncal

Im on it, a third party library we use was not making the conversion between hex string to swiftui Color (ironically while I was testing it was doing fine), apologies for that.

September 2024

abeilprincipino

I’m not finding the Home Assitant controls in the iOS Control Center, have they been released yet?

1 reply
September 2024 ▶ abeilprincipino

bgoncal

Are you using iOS 18? Try rebooting your device, they are released already, check if your app is updated as well

September 2024

abeilprincipino

iOS 18 installed, HA Companion at 2024.09.02 (even tried with the beta), Device rebooted.

I don’t have the home assistant category in the Control Center screen. Do I need to active anything for third-party controls in iOS? :frowning:

1 reply
September 2024 ▶ abeilprincipino

bgoncal

Not really :confused: this is managed by Apple, perhaps it’s a bug in their side, what you can also do is to delete the app, reboot once more, install the app again (no clue if it will work but sometimes this triggers some reset on these parts of the iOS)

September 2024

abeilprincipino

Uninstalled / Reinstalled the app, now I can see everything. Thanks!

September 2024

geekuality

So, I have only used Apple Watch for activating specific scenes, those have been originally setup as IOS Actions in the app long time ago. It seems that I still need those scenes to be selected/activated in actions view for me to see them in the watch configuration view in the companion app.

Suddenly with 2024.9.3 (2024.894) from TestFlight all those scenes started requiring confirmation before running them without me changing anything.

When I started to investigate, I found the release blog post mentioning the confirmation option and some mentions about it in this comment thread, but no reference to a real documentation anywhere. Also I can’t find the option itself anywhere in the app.

This surely can’t be intentional functionality now? I fully understand the rationale behind adding such an option and it’s an amazing addition, but don’t see why it would be the default for old actions like mine.

2 replies
September 2024

T1ppes

I used iOS actions to toggle the gate and garage door from my wrist. Obviously I can move these actions to scripts, but I would really prefer to have a selected set of entities available in the watch menu to also see their current state (i.e. if the gate/garage is currently open or closed) prior to sending the action/activating the script.
I am aware that traffic to and from the watch is limited and complications for example are only getting updated every quater hour, but notifications are pushed through aswell, so why not entity state changes for a limited number of entities?

This would also improve the useability of Apple Car Play, where the iOS Action List is the default view, but I rather navigate to the cover sub-page to see the gates actual state.

September 2024

Jarne_Roussard

@bgoncal Hello, I have the issue that when I try to edit something in the dashboard via the Home Assistant app on my iPhone, it refreshes the window on its own. This is not convenient, as I can’t adjust my dashboard on my phone and always have to use my laptop. I have a video of this, but I can’t upload it here?

October 2024 ▶ geekuality

Muxx

having the same problem here: Scenes on Apple Watch now always require confirmation and no option visible on watch or in the companion app to deactivate the new behavior.

October 2024

Zaphood

Hi,

I have noticed, that since IOS18 the location services are not updating reliably. I am using the Nabu Casa cloud and everything was working fine up and until IOS18.

Now my User is staying at home, most of the time. Occasionally, it detects me being not at home, but usually it doesn’t work anymore. I am on the latest Ha 2024.10, but no changes.

Am I the only one being affected ? Any ideas what I can do to fix this?

Thanks
Frank

1 reply
October 2024

henriklund

Same problem (all of a sudden getting asked to confirm running an action) and nothing change (aside from the HA update Wednesday. Also nowhere to disable this confirmation request feature.

Does anyone know how to disable these confirmations? They are quite annoying

2 replies
October 2024 ▶ henriklund

submersedravioli

I had the same issue. Going into ‘Settings > Companion App > Apple Watch - Configuration’ and then deleting and re-adding the items there gave me a ‘require confirmation’ toggle when adding them. The re-added entries have a new “>” option that allows you to view additional settings and change the ‘require confirmation’ toggle after the fact.

October 2024 ▶ henriklund

evroekel

Same question. I noticed @submersedravioli remark, but that won’t work for synchronized actions. Would be nice to skip the confirmation for some actions that are not risky/harmful.

1 reply
October 2024 ▶ evroekel

henriklund

I have neither risky nor harmful actions. And if they were deemed such, I’d really love to see the documentation stating such so that I could find a solution. Only alternative is to rewrite my all actions to scripts. However, then it seems as if I’d lose context data (about who the invoking user is) and also the name of my script would be the text shown on my watch (ie. giving it an alias is not possible)

October 2024 ▶ bgoncal

evroekel

Yeah did the trick. thx.

October 2024

kos17

You are working towards replacing iOS Actions with Scripts but you are already breaking a perfectly functioning thing with something that makes sense but doesn’t work.

Releasing the app in a state where Scripts are not actually triggered implies testing is insignificant to non-existant.

With iOS Actions I could just push 15 different actions from the server to 5 different watches but now everyone at home gets to waste an hour customizing buttons and checking if every one of these buttons will actually trigger a script (they don’t). It feels like you are trying to make a sysadmin out of everyone. Most of my family doesn’t care how a button appeared on their watch and what’s under the hood. They just want to press it and open a door. Now they get to navigate annoying menus and accept endless confirmations. Zero people are excited.

Even the title “Getting ready for iOS 18” implies it is not ready. It should be beta. It should not be on my phone/watch if I don’t want to be a beta tester. Let’s not celebrate this achievement yet.

1 reply
October 2024

doctorkb

I totally agree here. There is no reason for this sort of thing to ONLY be available to configure in the companion app. Even from a data management perspective, I’d much rather configure these things on the server and have them pushed out – that way I don’t have to muck about with reconfiguring each of the entries with the colours I want on each device.

PLEASE retain this functionality in the HA system YAML config (or, if you must, set a separate section in the system config where we can set up these actions).

With that in mind, we need the YAML config to allow us to turn off confirmations.

1 reply