Skip to content

Handle empty alarm list#22

Open
EmTeedee wants to merge 1 commit intoTKnpl:mainfrom
EmTeedee:handle-empty-alarm-list
Open

Handle empty alarm list#22
EmTeedee wants to merge 1 commit intoTKnpl:mainfrom
EmTeedee:handle-empty-alarm-list

Conversation

@EmTeedee
Copy link
Copy Markdown

Hi,

I am an unprivileged user, so as soon as alarms are closed, I don't see anything about them anymore.
The adapter didn't set alarm to false as expected.

A sample return from the API in this case:

Received data from Divera-API: {"success":true,"data":{"items":[],"sorting":[]},"ucr":123456}

The pull request handles an empty items list and just sets the alarm state to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant