zwave-js-server-python 0.35.1__py3-none-any.whl → 0.35.2__py3-none-any.whl

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.
@@ -152,7 +152,9 @@ class Node(EventBase):
152
152
  @property
153
153
  def is_secure(self) -> Optional[bool]:
154
154
  """Return the is_secure."""
155
- return self.data.get("isSecure")
155
+ if (is_secure := self.data.get("isSecure")) == "unknown":
156
+ return None
157
+ return is_secure
156
158
 
157
159
  @property
158
160
  def protocol_version(self) -> Optional[int]:
@@ -1,5 +1,5 @@
1
1
  """Data model for a Z-Wave JS node."""
2
- from typing import List, Optional, Union
2
+ from typing import List, Literal, Optional, Union
3
3
 
4
4
  from ...const import TYPING_EXTENSION_FOR_TYPEDDICT_REQUIRED
5
5
  from ..device_class import DeviceClassDataType
@@ -33,7 +33,7 @@ class NodeDataType(TypedDict, total=False):
33
33
  isRouting: bool
34
34
  maxDataRate: int
35
35
  supportedDataRates: List[int]
36
- isSecure: bool
36
+ isSecure: Union[bool, Literal["unknown"]]
37
37
  supportsBeaming: bool
38
38
  supportsSecurity: bool
39
39
  protocolVersion: int
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zwave-js-server-python
3
- Version: 0.35.1
3
+ Version: 0.35.2
4
4
  Summary: Python wrapper for zwave-js-server
5
5
  Home-page: https://github.com/home-assistant-libs/zwave-js-server-python
6
6
  Author: Home Assistant Team
@@ -41,8 +41,8 @@ zwave_js_server/model/controller/data_model.py,sha256=98tvw-oRgAIO4tp6XZ0cTA-4ad
41
41
  zwave_js_server/model/controller/event_model.py,sha256=stGDkUWDdcb0x6ltNfyJLf2fFEV7GIJQoKvODUDGP8s,4733
42
42
  zwave_js_server/model/controller/inclusion_and_provisioning.py,sha256=6sB4d-bjOyxJXMLNevuYcv3j22qdLW0Gg8UjFcBE58A,6010
43
43
  zwave_js_server/model/controller/statistics.py,sha256=to7RVuQztmmgMDSuK9LuhCKpC1ElOLSoan31EUY5_OM,2819
44
- zwave_js_server/model/node/__init__.py,sha256=l2qKzSrvwhgPOzvItcCIrPLYWClOixH1ve4Jd6UfaP4,28795
45
- zwave_js_server/model/node/data_model.py,sha256=VzqzmVbQquPvnDfREzNL55cY3dLbIQ02Y4_72Is6wd0,1694
44
+ zwave_js_server/model/node/__init__.py,sha256=jXEgyt9TtlFC7WL8I5b2QlzoydiYQmIKIgP0IgLNlbM,28869
45
+ zwave_js_server/model/node/data_model.py,sha256=Zdl68Oa9vUn2wegriFOcU70Q2yJO41rGKpdAdIbbtAU,1730
46
46
  zwave_js_server/model/node/event_model.py,sha256=kY-HxdRpJUGiQaM4T7DInQBJ4rf4pw1JY-nImsF-1kY,6055
47
47
  zwave_js_server/model/node/health_check.py,sha256=EAOMBkMKd5q--fhax2GvJhWdhuuv5dX_-2Hf_mczODs,6054
48
48
  zwave_js_server/model/node/statistics.py,sha256=_kTlKMIn0tYceDrmh59ZWQ1oz7SoifQJ6FysVrJ2zZU,1979
@@ -54,9 +54,9 @@ zwave_js_server/util/node.py,sha256=KUg-Z-7hdDLGKKCYLktc4oOgiPbDT7ZUYqUH_IPLwO4,
54
54
  zwave_js_server/util/command_class/__init__.py,sha256=sRxti47ekLTzfk8B609CMQumIbcD6mon2ZS0zwh9omY,59
55
55
  zwave_js_server/util/command_class/meter.py,sha256=Qkif1ul4KpV_k6Dc7yNXlSjlJLLTH8mCitgQk9J9W0A,1277
56
56
  zwave_js_server/util/command_class/multilevel_sensor.py,sha256=p92YLNRze5z3UWhfIDJO95F-j5tqx1PKUG9oamo9Dng,1446
57
- zwave_js_server_python-0.35.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
58
- zwave_js_server_python-0.35.1.dist-info/METADATA,sha256=-Hgzn0O6X8Fcc3h6qWVLPnhaODmfOCSFUU4MBfv2k1U,1712
59
- zwave_js_server_python-0.35.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
60
- zwave_js_server_python-0.35.1.dist-info/entry_points.txt,sha256=_8Swg1yhKiBElo6k1fxIEd6E8uPz8PDxQpwQoZ29FZE,74
61
- zwave_js_server_python-0.35.1.dist-info/top_level.txt,sha256=-hwsl-i4Av5Op_yfOHC_OP56KPmzp_iVEkeohRIN5Ng,16
62
- zwave_js_server_python-0.35.1.dist-info/RECORD,,
57
+ zwave_js_server_python-0.35.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
58
+ zwave_js_server_python-0.35.2.dist-info/METADATA,sha256=WCP_FOEQDlPYUMFuiX0mipVgUpw0OcebMR_kTxVRkA4,1712
59
+ zwave_js_server_python-0.35.2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
60
+ zwave_js_server_python-0.35.2.dist-info/entry_points.txt,sha256=_8Swg1yhKiBElo6k1fxIEd6E8uPz8PDxQpwQoZ29FZE,74
61
+ zwave_js_server_python-0.35.2.dist-info/top_level.txt,sha256=-hwsl-i4Av5Op_yfOHC_OP56KPmzp_iVEkeohRIN5Ng,16
62
+ zwave_js_server_python-0.35.2.dist-info/RECORD,,