Hi,
I’m trying to read all notifications in my app, but get a permission denied. Anyone know what I’m doing wrong? I’m simply using the api to access the notifications:
async getNotifications() {
const api = await this.getApi();
return await api.notifications.getNotifications();
}
and have the
"permissions": [
"homey:manager:api"
],
in my app.json. Other api calls work OK.
HomeyDash is able to read notifications, and the same goes for the api-playground, so I’m sure there must be a way to access the notifications. Heimdall is even able to write notifications in an own category so I must be doing something wrong
Many thanks in advance!