python-hilo 2025.10.1__tar.gz → 2025.10.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.
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/PKG-INFO +1 -1
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/const.py +1 -1
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/device/graphql_value_mapper.py +2 -2
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyproject.toml +1 -1
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/LICENSE +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/README.md +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/__init__.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/api.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/device/__init__.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/device/climate.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/device/light.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/device/sensor.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/device/switch.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/devices.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/event.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/exceptions.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/graphql.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/oauth2helper.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/util/__init__.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/util/state.py +0 -0
- {python_hilo-2025.10.1 → python_hilo-2025.10.2}/pyhilo/websocket.py +0 -0
|
@@ -7,7 +7,7 @@ import aiohttp
|
|
|
7
7
|
LOG: Final = logging.getLogger(__package__)
|
|
8
8
|
DEFAULT_STATE_FILE: Final = "hilo_state.yaml"
|
|
9
9
|
REQUEST_RETRY: Final = 9
|
|
10
|
-
PYHILO_VERSION: Final = "2025.10.
|
|
10
|
+
PYHILO_VERSION: Final = "2025.10.02"
|
|
11
11
|
# TODO: Find a way to keep previous line in sync with pyproject.toml automatically
|
|
12
12
|
|
|
13
13
|
CONTENT_TYPE_FORM: Final = "application/x-www-form-urlencoded"
|
|
@@ -396,10 +396,10 @@ class GraphqlValueMapper:
|
|
|
396
396
|
attributes = []
|
|
397
397
|
if device.get("power") is not None:
|
|
398
398
|
attributes.append(self._map_power(device))
|
|
399
|
-
if device.get("
|
|
399
|
+
if device.get("level") is not None:
|
|
400
400
|
attributes.append(
|
|
401
401
|
self.build_attribute(
|
|
402
|
-
device["hiloId"], "Intensity", device["
|
|
402
|
+
device["hiloId"], "Intensity", device["level"] / 100
|
|
403
403
|
)
|
|
404
404
|
)
|
|
405
405
|
attributes.append(
|
|
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
|