Closed ggggh closed 4 years ago
Hmm...just started working now! That same HTTP response has many more values now. Closing issue!
I see.. At that point in the code, I'm expecting the pool to be filled out..
So what happens is I get a list of "user pools", which are placeholder objects between a user and a pool ... and there I expected the pool to be filled out.
You got an error indicating the pool was null / not filled out.
I'm guessing the pool was very new?
Yes! Thanks!
Ah.. Might consider handling that.
Maybe it's null until some first configuration / measurements arrive.
Really looking forward to getting this working! Thanks for your work on this!
Getting this on the logs at the moment though. (logs increased to debug). Getting state-status and state-attr on mqtt, but nothing else. (Removed actual body content)
[2020-06-09 ......+00:00 VRB] [MBW.Client.BlueRiiotApi.BlueClient] Received OK for https://api.riiotlabs.com/prod/swimming_pool?deleted=false, with body: {"data":[{"created":"........","user_id":".........","role":"FIRST_ADMINISTRATOR","name":".....","swimming_pool_id":".........."}]}