From f1d9c04a3e05ec67e25b722659780b250746f693 Mon Sep 17 00:00:00 2001 From: Lucas Oskorep Date: Tue, 11 Feb 2020 16:52:15 -0600 Subject: [PATCH] Fixing async issues --- .idea/.gitignore | 2 ++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/kano-wand-smarthome.iml | 13 +++++++++++++ .idea/misc.xml | 7 +++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ kano-wand-2/wand.py | 4 ++-- 7 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/kano-wand-smarthome.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..5c98b42 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/kano-wand-smarthome.iml b/.idea/kano-wand-smarthome.iml new file mode 100644 index 0000000..74c70f0 --- /dev/null +++ b/.idea/kano-wand-smarthome.iml @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..8656114 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..59f3f71 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/kano-wand-2/wand.py b/kano-wand-2/wand.py index ca291cd..2a77bda 100644 --- a/kano-wand-2/wand.py +++ b/kano-wand-2/wand.py @@ -62,9 +62,9 @@ class Wand(object): """ pass - def disconnect(self): + async def disconnect(self): - self._dev.disconnect() + await self._dev.disconnect() self.connected = False self.post_disconnect()