smartbox 2.5.1__tar.gz → 2.5.2__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.
- {smartbox-2.5.1 → smartbox-2.5.2}/PKG-INFO +2 -2
- {smartbox-2.5.1 → smartbox-2.5.2}/pyproject.toml +2 -2
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/test_session.py +2 -2
- smartbox-2.5.2/uv.lock +1155 -0
- smartbox-2.5.1/uv.lock +0 -1144
- {smartbox-2.5.1 → smartbox-2.5.2}/.github/FUNDING.yml +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.github/ISSUE_TEMPLATE/new-reseller.md +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.github/dependabot.yml +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.github/workflows/publish-to-pypi.yml +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.github/workflows/python-package.yml +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.gitignore +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.pre-commit-config.yaml +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/.vscode/settings.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/CHANGELOG.md +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/CODEOWNERS +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/LICENSE +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/README.md +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/api-notes.md +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/codecov.yml +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/__init__.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/cmd.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/error.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/models.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/py.typed +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/reseller.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/session.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/socket.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/src/smartbox/update_manager.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/__init__.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/common.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/conftest.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/acm/1/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/acm/1/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/acm/1/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/acm/1/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/connected.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/htr/0/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/htr/0/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/htr/0/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/htr/0/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/htr_system/power_limit.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/mgr/away_status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/mgr/nodes.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/pmo/3/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/pmo/3/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/pmo/3/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device1/pmo/3/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/connected.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/0/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/0/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/0/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/0/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/1/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/1/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/1/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/1/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/2/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/2/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/2/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/2/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/3/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/3/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/3/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/3/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/4/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/4/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/4/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/4/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/5/samples.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/5/setup.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/5/status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_mod/5/version.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/htr_system/power_limit.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/mgr/away_status.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs/device2/mgr/nodes.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/devs.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/grouped_devs.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/groups/test_home/guest_users.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/fixtures/test_path.json +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/test_cmd.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/test_models.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/test_reseller.py +0 -0
- {smartbox-2.5.1 → smartbox-2.5.2}/tests/test_update_manager.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: smartbox
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: Python API to control heating 'smart boxes'
|
|
5
5
|
Project-URL: Homepage, https://github.com/ajtudela/smartbox
|
|
6
6
|
Project-URL: Issues, https://github.com/ajtudela/smartbox/issues
|
|
@@ -14,7 +14,7 @@ Requires-Python: >=3.14.2
|
|
|
14
14
|
Requires-Dist: aiohttp
|
|
15
15
|
Requires-Dist: asyncclick
|
|
16
16
|
Requires-Dist: jq
|
|
17
|
-
Requires-Dist: pydantic
|
|
17
|
+
Requires-Dist: pydantic
|
|
18
18
|
Requires-Dist: python-socketio
|
|
19
19
|
Requires-Dist: requests
|
|
20
20
|
Requires-Dist: websocket-client
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "smartbox"
|
|
3
|
-
version = "2.5.
|
|
3
|
+
version = "2.5.2"
|
|
4
4
|
requires-python = ">=3.14.2"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name="Alberto Tudela", email="ajtudela@gmail.com" },
|
|
@@ -21,7 +21,7 @@ dependencies = [
|
|
|
21
21
|
"aiohttp",
|
|
22
22
|
"asyncclick",
|
|
23
23
|
"jq",
|
|
24
|
-
"pydantic
|
|
24
|
+
"pydantic",
|
|
25
25
|
"python-socketio",
|
|
26
26
|
"requests",
|
|
27
27
|
"websocket-client",
|
|
@@ -192,8 +192,8 @@ async def test_get_node_samples_default_times(async_smartbox_session):
|
|
|
192
192
|
called_start = int(match.group(1))
|
|
193
193
|
called_end = int(match.group(2))
|
|
194
194
|
|
|
195
|
-
assert abs(called_start - (now - 3600)) <=
|
|
196
|
-
assert abs(called_end - (now + 3600)) <=
|
|
195
|
+
assert abs(called_start - (now - 3600)) <= 20
|
|
196
|
+
assert abs(called_end - (now + 3600)) <= 20
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
@pytest.mark.asyncio
|