I noticed today that my Sesame (device ID FEFF928B2503) was left unlocked since last night, but the API has been showing "is_unlocked": false
for over 24h.
>>> import pysesame
>>> sesames = pysesame.get_sesames('***', '***')
>>> sesames
[<pysesame.sesame.Sesame object at 0x7ff6e417b7f0>]
>>> sesames[0].is_unlocked
False
The strange thing is that I opened the app and connected over Wi-Fi (not Bluetooth), and it shows the correct unlocked status. I turned API access off and then on again in the app, and the API is reporting "is_unlocked": true
correctly now.
>>> import pysesame
>>> sesames = pysesame.get_sesames('***', '***')
>>> sesames[0].is_unlocked
True