python-selve-new 2.3.2__tar.gz → 2.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_selve_new-2.3.2/python_selve_new.egg-info → python_selve_new-2.3.4}/PKG-INFO +1 -1
- {python_selve_new-2.3.2 → python_selve_new-2.3.4/python_selve_new.egg-info}/PKG-INFO +1 -1
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/__init__.py +4 -1
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/setup.py +1 -1
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.github/FUNDING.yml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.github/workflows/python-publish.yml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.gitignore +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.idea/.gitignore +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.idea/misc.xml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.idea/modules.xml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.idea/python-selve-new.iml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.idea/vcs.xml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/.vscode/settings.json +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/LICENSE +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/README.md +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/package.sh +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/pyproject.toml +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/python_selve_new.egg-info/SOURCES.txt +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/python_selve_new.egg-info/dependency_links.txt +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/python_selve_new.egg-info/entry_points.txt +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/python_selve_new.egg-info/requires.txt +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/python_selve_new.egg-info/top_level.txt +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/__init__.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/command.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/device.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/event.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/group.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/iveo.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/param.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/senSim.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/sender.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/sensor.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/commands/service.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/device.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/gateway.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/group.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/iveo.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/senSim.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/sender.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/sensor.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/util/__init__.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/util/errors.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/selve/util/protocol.py +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/setup.cfg +0 -0
- {python_selve_new-2.3.2 → python_selve_new-2.3.4}/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-selve-new
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Python library for interfacing with selve devices using the USB-RF controller. Written completely new.
|
|
5
5
|
Home-page: https://github.com/Kannix2005/python-selve-new
|
|
6
6
|
Author: Stefan Altheimer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-selve-new
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Python library for interfacing with selve devices using the USB-RF controller. Written completely new.
|
|
5
5
|
Home-page: https://github.com/Kannix2005/python-selve-new
|
|
6
6
|
Author: Stefan Altheimer
|
|
@@ -156,6 +156,7 @@ class Selve:
|
|
|
156
156
|
dsrdtr=False)
|
|
157
157
|
|
|
158
158
|
if await self.pingGateway(fromConfigFlow=True):
|
|
159
|
+
self._serial.close()
|
|
159
160
|
return True
|
|
160
161
|
except (serial.SerialException, IOError) as e:
|
|
161
162
|
self._LOGGER.debug("Configured port not valid! " + str(e))
|
|
@@ -185,7 +186,7 @@ class Selve:
|
|
|
185
186
|
rtscts=False,
|
|
186
187
|
dsrdtr=False)
|
|
187
188
|
|
|
188
|
-
if await self.pingGateway():
|
|
189
|
+
if await self.pingGateway(fromConfigFlow=fromConfigFlow):
|
|
189
190
|
if not fromConfigFlow:
|
|
190
191
|
if discover:
|
|
191
192
|
self._LOGGER.info("Discovering devices")
|
|
@@ -706,6 +707,8 @@ class Selve:
|
|
|
706
707
|
async def _executeCommandSyncWithResponse(self, command: Command):
|
|
707
708
|
async with self._writeLock:
|
|
708
709
|
async with self._readLock:
|
|
710
|
+
if self._serial is None:
|
|
711
|
+
return False
|
|
709
712
|
if self._serial is not None and not self._serial.is_open:
|
|
710
713
|
self._serial.open()
|
|
711
714
|
await self._sendCommandToGateway(command)
|
|
@@ -15,7 +15,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
|
|
15
15
|
setup(
|
|
16
16
|
|
|
17
17
|
name='python-selve-new', # Required
|
|
18
|
-
version='2.3.
|
|
18
|
+
version='2.3.4', # Required
|
|
19
19
|
description='Python library for interfacing with selve devices using the USB-RF controller. Written completely new.', # Required
|
|
20
20
|
long_description=long_description, # Optional
|
|
21
21
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.3.2 → python_selve_new-2.3.4}/.idea/inspectionProfiles/profiles_settings.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.3.2 → python_selve_new-2.3.4}/python_selve_new.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_selve_new-2.3.2 → python_selve_new-2.3.4}/python_selve_new.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|