Fix socket init error

This commit is contained in:
2019-11-03 20:25:28 +01:00
parent 9923f45a95
commit d01ce1c8db
2 changed files with 3 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ This library can control your georide tracker tracker
Some code have been taken from @alexmohr https://github.com/alexmohr/sonyapilib
This library is used as communication interface in a home assistant component to control media players, which can be found here:(Not ready yet ;))
This library is used as communication interface in a home assistant component to control media players, which can be found here: https://github.com/ptimatth/GeorideHA
At the moment not all functions offered by the api are implemented. If you miss a function feel free to create a pull request or open a feature request.
@@ -30,5 +30,4 @@ This library has been tested with python 3.7 and above, functionality for older
- https://github.com/ptimatth/pyGeoride
## Todo
- [ ] Add support of SocketIO connection
- [ ] Add support of "Get a shared trip" endpoint

View File

@@ -99,8 +99,7 @@ class GeorideSocket():
_LOGGER.debug('Locked received: %s', data)
if self._on_locked_callback is not None:
self._on_locked_callback(data)
else:
self._initialised = True
self._initialised = True
def connect(self, auth_token):
""" connect to the georide socket"""