sleepInfo is not defined

first pic is the sample code from Axyll/js at master · reinvantveer/Axyll · GitHub


and I would like to write the sleep status, here is my code


but it cant work, is there something wrong?
Thank you so much~

Hi,
We have reported this to the relevant team.

Thank you

Iqbal