I was able to add a new alarm as per the code in you previous post. But I am not able to enable/disable an alarm in Sleep as Android.
I have tested this code (and some other alternatives) but it isnt working
I get message: Not able to send activityintent. Please check format of command. Or something like that, I get the message in swedish
Hi, I was happily using this solution to set my daily alarm, but I think Android 13 broke it… Now I just see the “command_activity” notification as if it was a normal notification.
I tried the map example in documentation and it still works, so I think there’s something specific with this intent. Has anyone else experienced this issue with Android 13?
i’m really stupid at this but cant get the timer to work at all!!! i can get an alarm set with a time and a message but nothing on the timer, i can get it to open the timer but nothing will set.
the length line is obviously wrong but what should it be!!!
id tried all sorts mate but couldn’t get it to work that was just the last thing that i had tried. i knew it was wrong thou.
that line works great but i’m struggling to work out why it’s alarm and not timer to be honest as it never calls the alarm part anywhere from what i can see in the above code.
Thats a better question for google LOL, don’t question it just go by what they document because thats what the code looks for. At the end of the day its just a string value so it can be anything they chose, literally.
Tried in Developer Tools and nothing, the HA app pop up an authorization to overlay apps but still nothing, tried without package name too… no alarm set anywhere…
Any ideas?
Thanks in advance