#Apple shortcuts not run scripts
1 messages · Page 1 of 1 (latest)
Please check AppStore version 2024.9.1 release moments ago
Have you updated the iOS app? 2024.9.1
yeah - just checked. don't want to hijack @raven nova's thread though
but when I try and trigger a script, the script starts but quits within 3-5 seconds
Can you share a screen recording?
I can confirm that afert update to iOS 18 and last App the shortcuts works fine again 
Thats too vague, what did you ask Siri for? Is it a shortcut? If so, please share the shortcut.
yes it is a script, this is just one example of all my script shortcuts - most don't work if the script takes longer than 10 seconds to execute
I even tried wrapping scripts in scripts so all the shortcut does is call other scripts. It's script inception here and it still usually fails.
sequence:
- parallel:
- alias: lights and Open covers in parallel
parallel:
- if:
- condition: state
entity_id: sun.sun
state: above_horizon
then:
- data: {}
target:
entity_id: cover.bedroom_shades
action: cover.open_cover
alias: Open Bedroom Curtains if sun is up
- metadata: {}
data: {}
action: script.covers_open_all_blinds
- metadata: {}
data: {}
action: script.normal_lights
- data:
brightness: 170
transition: 600
target:
device_id:
- b32593577db93a8379d06de33d958185
- 40c84506044f11ebb7807b58d20e7a8a
entity_id: scene.bedroom_dimmed
action: hue.activate_scene
- data:
transition: 63
target:
entity_id: light.elements_35f6
action: light.turn_on
- metadata: {}
data: {}
action: script.kettle_turn_on_to_195f
- alias: Winter / Summer options
choose:
- conditions:
- condition: state
entity_id: input_boolean.winter_summer
state: "on"
sequence:
- metadata: {}
data:
temperature: 75
target:
entity_id: climate.garage_thermostat
action: climate.set_temperature
alias: "Winter "
- conditions:
- condition: state
entity_id: input_boolean.winter_summer
state: "off"
sequence:
- if:
- condition: template
value_template: >-
{{ state_attr('climate.first_floor',
'current_temperature') | float < 60 }}
then:
- data:
temperature: 72
target:
entity_id: climate.fireplace
action: climate.set_temperature
alias: Turn on fireplace if open space is below 60
alias: Summer
- sequence:
- metadata: {}
data: {}
action: script.tts_test
- metadata: {}
data: {}
action: script.tts_calendar_briefing
alias: TTS Briefings in sequence
mode: restart
icon: mdi:weather-sunset-up
description: replaced with summer version in July 2024 - need to update for winter
You shortcuts dictionary is not being used btw.
Did you know we have a shortcuts option that runs scripts directly instead of "Call service"? look for "Run script" and let me know if it works
fantastic! I'll test. Is that new?
I'm starting to wonder of the only fix is to turn on a helper with the shortcut and then use an automation that watches the helper that executes the script?
Im not sure what you mean, this should have worked, if you open the app and run the script manually, does it works?
btw which app version are you using?
yes, running from the app works fine
looks like 2024.9.1
Export your logs and send to me please:
https://forms.gle/rZthn7H7pmZLyWjR8
Heya, Siri shortcuts stopped working for me as well after the iOS 18 update.
I had to remove the HA actions in every Siri automation and then add them back in to fix the problem.