HomeyScript - trying to set presence of user

Hi,

im currently trying to update a users presence status using HomeyScript and keep getting;

“You have no access to do this.”

My Homey is updated to version 2.

What Im trying to run is:

await Presence.setPresent({ id: myUserid, value: false });

Setting the presence state in the user object and trying to update the user with “updateUser()” doesn’t work either.

Any ideas?

“no access” means it’s not allowed. Please file a bugreport at https://support.athom.com/hc/en-us/requests/new

I understand that, but shouldn’t it be allowed? Must I authorize myself by any means?

I submitted a report