Closed realzoulou closed 1 year ago
Tested with P110 devices only, but my own HA integration covers these P100 APIs: handshake, login, getDeviceInfo, getDeviceName
@fishbigger Have you decided which PR to take? #65 or #66 ?
Resolved merge conflicts
Sorry I didn't get to this sooner. It seems a lot better than my quick fix earlier.
Fix #50, #54, #62, #64. Description: P100 instance initially has no open requests.Session. When P100.handshake() is called, a previous Session is closed and a new one created. Behavioral change: P100.getDeviceName() now expects that handshake() and login() has happened on the P100 instance before.
Signed-off-by: richi zoulourns@gmail.com