#Apple Watch action says script not found
1 messages · Page 1 of 1 (latest)
More context, created the action with that new method selecting the actual script from the list.
Logger: homeassistant.components.mobile_app.webhook
Source: components/mobile_app/webhook.py:291
integration: Mobile App (documentation, issues)
First occurred: 3:38:13 PM (2 occurrences)
Last logged: 3:38:13 PM
Error when calling service during mobile_app webhook (device name: Legacy’s iPhone): Action script.start_legacys_car_heat not found
Weird, can you remove those scripts from watch configuration and add them back?
Do you have more than 1 server configured?
Which app version are you using?
I have removed and added back with same result. Just one server using the Nabu casa remote.
Please export your companion app logs and submit here https://forms.gle/Uoqz127Phx4mMTpS6
I’ll check during the week
Newest iOS app 2024.9.4
Home assistant 2024.11.2
Ok
Will do so first thing in morning when at pc. Thank you!
Submitted!
BTW the script is actually robs car but wasnt going to publically share my name. Also in case the link in the google drive didn't work due to original sharing settings.
Can send me a screenshot of home assistant >> developer tools >> actions >> search for script.start_robs_car_ac
Looking at your app logs it doesnt look like anything went wrong in the app
Could you try to trigger it right now? Then export app logs again and tell me if something comes up in HA logs as well
Sure
Logger: homeassistant.components.webhook
Source: components/webhook/init.py:192
integration: Webhook (documentation, issues)
First occurred: November 17, 2024 at 8:59:47 AM (3 occurrences)
Last logged: 7:32:31 AM
Error processing webhook f6fa6ddfa0ef93d08f278b93b21fa30be30011a8d0d5d585008ac1e224262351
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mobile_app/webhook.py", line 283, in webhook_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2735, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Action script.start_robs_car_heat not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/webhook/init.py", line 192, in async_handle_webhook
response: Response | None = await webhook["handler"](hass, webhook_id, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/mobile_app/webhook.py", line 265, in handle_webhook
return await asyncio.shield(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/mobile_app/webhook.py", line 175, in validate_and_run
return await func(hass, config_entry, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/mobile_app/webhook.py", line 299, in webhook_call_service
raise HTTPBadRequest from ex
aiohttp.web_exceptions.HTTPBadRequest: Bad Request
Based on your screenshot script.start_robs_car_heat really doesn't exist right?
did you change it's ID?
It's weird that it doesnt show up in this list
Can you try with one script that does show up in that list?
Yeah some scripts do work
If it doesn't show up in the actions list then it will not work, the mistery is why they are not showing up there, perhaps open a github issue to Core, on the App side I can't fix it unfortunately
Okay, what creates the actions piece?
Would deleting and recreating the script perhaps help?
It should, actions list should show all your scripts
Is the action piece iOS only?
No, in the past "Actions" were named "Services" in home assistant and at that time we had "iOS Actions" (which has no relation to the one named services.)
Ahhh. What is interesting we can fire these scripts via Google
Going to grab my cup of coffee and recreate and will report back shortly
Sounds good
So recreating it fixed it
Pretty certain it was the november HA update that broke it
maybe october, but feel like i used it in october
Got it, I can't say for sure, but if it happens again I encorage you to open an issue to Core, so they can identify whats happening and fix it in future versions
Only Apple platforms
love the app, love the change in how apple watch stuff is created
the old method was a little tedious
only real feedback is would love to change the names of the watch buttons without a new script
since the display is so small the names are a bit odd on longer names
Thanks for the feedback, the goal is to keep making it simpler and more personal to each user instead of server level.
Indeed, customizing the display text is on the queue to be implemented