Replies: 1 comment 2 replies
-
Hi radi, As a first step of troubleshooting, you could try excluding the app from the device's battery optimization. You can find this option in the Settings under the Troubleshooting section. This might solve your problem. If not, let me know, I can try to investigate further. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I need some help. I automated my garage using shortcuts and it works really fine. For updating the status I use
enqueueShortcut(<uid>,null,25*1000
.This works fine if started out of the shortcut app itself. If I use a quick button from homescreen for it, this enqueued shortcut is only executed if timer is set to 10 or less. If I open shortcut app it is immediately executed. I guess it is a kind of sleep mechanism that stops shortcuts from executing something when not running activly anymore.
The workaround
wait(25*1000) executeShortcut(<uid>)
works, but is not as good as enqueue as it blocks the app.
Has anyone any idea?
Thanks in advance.
radi
Beta Was this translation helpful? Give feedback.
All reactions