pygaposa 0.2.2__tar.gz → 0.2.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.
- {pygaposa-0.2.2/pygaposa.egg-info → pygaposa-0.2.4}/PKG-INFO +15 -4
- {pygaposa-0.2.2 → pygaposa-0.2.4}/README.rst +2 -2
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/__meta__.py +1 -1
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/api_types.py +1 -1
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/firebase.py +1 -1
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/gaposa.py +1 -1
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/model.py +5 -5
- {pygaposa-0.2.2 → pygaposa-0.2.4/pygaposa.egg-info}/PKG-INFO +15 -4
- pygaposa-0.2.4/pygaposa.egg-info/SOURCES.txt +31 -0
- pygaposa-0.2.2/pygaposa.egg-info/SOURCES.txt +0 -31
- {pygaposa-0.2.2 → pygaposa-0.2.4}/CHANGELOG.rst +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/LICENSE +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/MANIFEST.in +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/__init__.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/api.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/client.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/device.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/devicebase.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/geoapi.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/group.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/motor.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/poll_manager.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/room.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa/schedule.py +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa.egg-info/dependency_links.txt +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa.egg-info/requires.txt +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pygaposa.egg-info/top_level.txt +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/pyproject.toml +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/requirements-dev.txt +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/requirements-docs.txt +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/requirements-test.txt +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/requirements.txt +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/setup.cfg +0 -0
- {pygaposa-0.2.2 → pygaposa-0.2.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: pygaposa
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: Unofficial module for access to Gaposa morotized shades cloud API
|
|
5
5
|
Home-page: https://github.com/mwatson2/pygaposa
|
|
6
6
|
Author: Mark Watson
|
|
@@ -61,11 +61,22 @@ Requires-Dist: sphinx-autobuild; extra == "all"
|
|
|
61
61
|
Requires-Dist: sphinx<6,>=3.5.4; extra == "all"
|
|
62
62
|
Requires-Dist: sphinx_book_theme; extra == "all"
|
|
63
63
|
Requires-Dist: watchdog<1.0.0; python_version < "3.6" and extra == "all"
|
|
64
|
+
Dynamic: author
|
|
65
|
+
Dynamic: author-email
|
|
66
|
+
Dynamic: classifier
|
|
67
|
+
Dynamic: description
|
|
68
|
+
Dynamic: description-content-type
|
|
69
|
+
Dynamic: home-page
|
|
70
|
+
Dynamic: license
|
|
71
|
+
Dynamic: provides-extra
|
|
72
|
+
Dynamic: requires-dist
|
|
73
|
+
Dynamic: requires-python
|
|
74
|
+
Dynamic: summary
|
|
64
75
|
|
|
65
76
|
|GHA tests| |Codecov report| |pre-commit| |black|
|
|
66
77
|
|
|
67
|
-
Gaposa Motorized Shades API
|
|
68
|
-
|
|
78
|
+
Unofficial Gaposa Motorized Shades API
|
|
79
|
+
======================================
|
|
69
80
|
|
|
70
81
|
This module provides unofficial access to the cloud API for Gaposa motorized shades as used by the RollApp mobile application
|
|
71
82
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|GHA tests| |Codecov report| |pre-commit| |black|
|
|
2
2
|
|
|
3
|
-
Gaposa Motorized Shades API
|
|
4
|
-
|
|
3
|
+
Unofficial Gaposa Motorized Shades API
|
|
4
|
+
======================================
|
|
5
5
|
|
|
6
6
|
This module provides unofficial access to the cloud API for Gaposa motorized shades as used by the RollApp mobile application
|
|
7
7
|
|
|
@@ -4,7 +4,7 @@ name = "pygaposa"
|
|
|
4
4
|
path = name.lower().replace("-", "_").replace(" ", "_")
|
|
5
5
|
# Your version number should follow https://python.org/dev/peps/pep-0440 and
|
|
6
6
|
# https://semver.org
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.4"
|
|
8
8
|
author = "Mark Watson"
|
|
9
9
|
author_email = "markwatson@cantab.net"
|
|
10
10
|
description = "Unofficial module for access to Gaposa morotized shades cloud API"
|
|
@@ -164,7 +164,7 @@ class DeviceDocumentRequired(TypedDict):
|
|
|
164
164
|
Groups: Dict[NumericIdentifier, GroupInfo]
|
|
165
165
|
HeartBeat: HeartBeat
|
|
166
166
|
DeletedChannels: List[int]
|
|
167
|
-
Pending: list
|
|
167
|
+
Pending: Union[list, Dict[str, Channel]]
|
|
168
168
|
Uid: list[str]
|
|
169
169
|
|
|
170
170
|
|
|
@@ -246,7 +246,7 @@ class FirebaseApp:
|
|
|
246
246
|
websession: Optional[aiohttp.ClientSession] = None,
|
|
247
247
|
) -> None:
|
|
248
248
|
self.config: FirebaseConfig = config
|
|
249
|
-
self.logger = logging.getLogger("firebase")
|
|
249
|
+
self.logger = logging.getLogger("gaposa.firebase")
|
|
250
250
|
if loop:
|
|
251
251
|
self.loop: asyncio.AbstractEventLoop = loop
|
|
252
252
|
else:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from abc import ABC, abstractmethod
|
|
2
|
-
from typing import
|
|
2
|
+
from typing import TypeVar
|
|
3
3
|
|
|
4
4
|
from pygaposa.api_types import Channel, Command
|
|
5
5
|
|
|
@@ -27,19 +27,19 @@ class Controllable(Updatable):
|
|
|
27
27
|
"""Represents an object that can be controlled by the API."""
|
|
28
28
|
|
|
29
29
|
@abstractmethod
|
|
30
|
-
async def up(self):
|
|
30
|
+
async def up(self, waitForUpdate=True):
|
|
31
31
|
pass
|
|
32
32
|
|
|
33
33
|
@abstractmethod
|
|
34
|
-
async def down(self):
|
|
34
|
+
async def down(self, waitForUpdate=True):
|
|
35
35
|
pass
|
|
36
36
|
|
|
37
37
|
@abstractmethod
|
|
38
|
-
async def stop(self):
|
|
38
|
+
async def stop(self, waitForUpdate=True):
|
|
39
39
|
pass
|
|
40
40
|
|
|
41
41
|
@abstractmethod
|
|
42
|
-
async def preset(self):
|
|
42
|
+
async def preset(self, waitForUpdate=True):
|
|
43
43
|
pass
|
|
44
44
|
|
|
45
45
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: pygaposa
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: Unofficial module for access to Gaposa morotized shades cloud API
|
|
5
5
|
Home-page: https://github.com/mwatson2/pygaposa
|
|
6
6
|
Author: Mark Watson
|
|
@@ -61,11 +61,22 @@ Requires-Dist: sphinx-autobuild; extra == "all"
|
|
|
61
61
|
Requires-Dist: sphinx<6,>=3.5.4; extra == "all"
|
|
62
62
|
Requires-Dist: sphinx_book_theme; extra == "all"
|
|
63
63
|
Requires-Dist: watchdog<1.0.0; python_version < "3.6" and extra == "all"
|
|
64
|
+
Dynamic: author
|
|
65
|
+
Dynamic: author-email
|
|
66
|
+
Dynamic: classifier
|
|
67
|
+
Dynamic: description
|
|
68
|
+
Dynamic: description-content-type
|
|
69
|
+
Dynamic: home-page
|
|
70
|
+
Dynamic: license
|
|
71
|
+
Dynamic: provides-extra
|
|
72
|
+
Dynamic: requires-dist
|
|
73
|
+
Dynamic: requires-python
|
|
74
|
+
Dynamic: summary
|
|
64
75
|
|
|
65
76
|
|GHA tests| |Codecov report| |pre-commit| |black|
|
|
66
77
|
|
|
67
|
-
Gaposa Motorized Shades API
|
|
68
|
-
|
|
78
|
+
Unofficial Gaposa Motorized Shades API
|
|
79
|
+
======================================
|
|
69
80
|
|
|
70
81
|
This module provides unofficial access to the cloud API for Gaposa motorized shades as used by the RollApp mobile application
|
|
71
82
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
CHANGELOG.rst
|
|
2
|
+
LICENSE
|
|
3
|
+
MANIFEST.in
|
|
4
|
+
README.rst
|
|
5
|
+
pyproject.toml
|
|
6
|
+
requirements-dev.txt
|
|
7
|
+
requirements-docs.txt
|
|
8
|
+
requirements-test.txt
|
|
9
|
+
requirements.txt
|
|
10
|
+
setup.py
|
|
11
|
+
pygaposa/__init__.py
|
|
12
|
+
pygaposa/__meta__.py
|
|
13
|
+
pygaposa/api.py
|
|
14
|
+
pygaposa/api_types.py
|
|
15
|
+
pygaposa/client.py
|
|
16
|
+
pygaposa/device.py
|
|
17
|
+
pygaposa/devicebase.py
|
|
18
|
+
pygaposa/firebase.py
|
|
19
|
+
pygaposa/gaposa.py
|
|
20
|
+
pygaposa/geoapi.py
|
|
21
|
+
pygaposa/group.py
|
|
22
|
+
pygaposa/model.py
|
|
23
|
+
pygaposa/motor.py
|
|
24
|
+
pygaposa/poll_manager.py
|
|
25
|
+
pygaposa/room.py
|
|
26
|
+
pygaposa/schedule.py
|
|
27
|
+
pygaposa.egg-info/PKG-INFO
|
|
28
|
+
pygaposa.egg-info/SOURCES.txt
|
|
29
|
+
pygaposa.egg-info/dependency_links.txt
|
|
30
|
+
pygaposa.egg-info/requires.txt
|
|
31
|
+
pygaposa.egg-info/top_level.txt
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
CHANGELOG.rst
|
|
2
|
-
LICENSE
|
|
3
|
-
MANIFEST.in
|
|
4
|
-
README.rst
|
|
5
|
-
pyproject.toml
|
|
6
|
-
requirements-dev.txt
|
|
7
|
-
requirements-docs.txt
|
|
8
|
-
requirements-test.txt
|
|
9
|
-
requirements.txt
|
|
10
|
-
setup.py
|
|
11
|
-
./pygaposa/__init__.py
|
|
12
|
-
./pygaposa/__meta__.py
|
|
13
|
-
./pygaposa/api.py
|
|
14
|
-
./pygaposa/api_types.py
|
|
15
|
-
./pygaposa/client.py
|
|
16
|
-
./pygaposa/device.py
|
|
17
|
-
./pygaposa/devicebase.py
|
|
18
|
-
./pygaposa/firebase.py
|
|
19
|
-
./pygaposa/gaposa.py
|
|
20
|
-
./pygaposa/geoapi.py
|
|
21
|
-
./pygaposa/group.py
|
|
22
|
-
./pygaposa/model.py
|
|
23
|
-
./pygaposa/motor.py
|
|
24
|
-
./pygaposa/poll_manager.py
|
|
25
|
-
./pygaposa/room.py
|
|
26
|
-
./pygaposa/schedule.py
|
|
27
|
-
pygaposa.egg-info/PKG-INFO
|
|
28
|
-
pygaposa.egg-info/SOURCES.txt
|
|
29
|
-
pygaposa.egg-info/dependency_links.txt
|
|
30
|
-
pygaposa.egg-info/requires.txt
|
|
31
|
-
pygaposa.egg-info/top_level.txt
|
|
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
|