Closed zxdavb closed 6 years ago
This issue is not yet completely resolved. See the 3rd comment in #47. My fault.
Has this now been resolved with the merges we've made or is there something still outstanding? Sorry - have slightly lost track!
Yes - a lot went on, and I got a little confused myself.
But I think we're OK to close this now.
I will do a pull request when I can, but to get this documented:
Every time EvohomeClientv2.installation is called (in my case, via
_login()
), it executes this piece of code:Later,
_get_single_heating_system
checks for a single location and fails if not:This fails because every time
installation()
is called, it increases the array size by one.Instead, this may be the correct code: