zwave-js-server-python 0.64.0__py3-none-any.whl → 0.65.0__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.
@@ -8,7 +8,7 @@ import logging
8
8
  from typing import TypedDict
9
9
 
10
10
  PACKAGE_NAME = "zwave-js-server-python"
11
- __version__ = "0.64.0"
11
+ __version__ = "0.65.0"
12
12
 
13
13
  # minimal server schema version we can handle
14
14
  MIN_SERVER_SCHEMA_VERSION = 41
@@ -736,14 +736,17 @@ class Controller(EventBase):
736
736
  )
737
737
  return convert_base64_to_bytes(data["nvmData"])
738
738
 
739
- async def async_restore_nvm(self, file: bytes) -> None:
739
+ async def async_restore_nvm(
740
+ self, file: bytes, options: dict[str, bool] | None = None
741
+ ) -> None:
740
742
  """Send restoreNVM command to Controller."""
741
743
  await self.client.async_send_command(
742
744
  {
743
745
  "command": "controller.restore_nvm",
744
746
  "nvmData": convert_bytes_to_base64(file),
747
+ "migrateOptions": {} if options is None else options,
745
748
  },
746
- require_schema=14,
749
+ require_schema=42,
747
750
  )
748
751
 
749
752
  async def async_backup_nvm_raw_base64(self) -> str:
@@ -753,14 +756,17 @@ class Controller(EventBase):
753
756
  )
754
757
  return data["nvmData"]
755
758
 
756
- async def async_restore_nvm_base64(self, base64_data: str) -> None:
759
+ async def async_restore_nvm_base64(
760
+ self, base64_data: str, options: dict[str, bool] | None = None
761
+ ) -> None:
757
762
  """Send restoreNVM command to Controller with base64 data directly."""
758
763
  await self.client.async_send_command(
759
764
  {
760
765
  "command": "controller.restore_nvm",
761
766
  "nvmData": base64_data,
767
+ "migrateOptions": {} if options is None else options,
762
768
  },
763
- require_schema=14,
769
+ require_schema=42,
764
770
  )
765
771
 
766
772
  async def async_get_power_level(self) -> dict[str, int]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zwave-js-server-python
3
- Version: 0.64.0
3
+ Version: 0.65.0
4
4
  Summary: Python wrapper for zwave-js-server
5
5
  Author-email: Home Assistant Team <hello@home-assistant.io>
6
6
  License-Expression: Apache-2.0
@@ -7,7 +7,7 @@ zwave_js_server/exceptions.py,sha256=8SY6FA8NiTEQgtauLR83F7m69gBGQviJ6O2obirH2po
7
7
  zwave_js_server/firmware.py,sha256=57L7olhmtJ0FosEi3GtinNjfayudbQxYRYhpgrzsj90,2328
8
8
  zwave_js_server/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  zwave_js_server/version.py,sha256=PUwxOVcUMk5pOguQP9zAjiPjs1Nnmiwj3fcA4HJLiBg,401
10
- zwave_js_server/const/__init__.py,sha256=gZNzO4KQY1t8MMSGj079-VBC44Mg9pkcdqUTF_Y6f0o,14264
10
+ zwave_js_server/const/__init__.py,sha256=eD2a2MTdU9x5VH2GLsJQbZLASqphFn-pmAJE6x6lPs4,14264
11
11
  zwave_js_server/const/command_class/__init__.py,sha256=WilOppnr9CXahDjEEkAXyh_j7iCq_qZ1GtBkjWLoQUg,37
12
12
  zwave_js_server/const/command_class/barrier_operator.py,sha256=IJ195hGKEi1FLLqKWMtC2ZhY9Jt5PACr7GYTyVPjkKM,820
13
13
  zwave_js_server/const/command_class/basic.py,sha256=cs0k7p5qxrwpR8-NvXQLtnfEsC6IlBAYiW79DaM_6Eg,96
@@ -43,7 +43,7 @@ zwave_js_server/model/utils.py,sha256=VMoJQ99QRkpJleJhXR4eojbgObdZZeEfse5gonmK7I
43
43
  zwave_js_server/model/value.py,sha256=Ku_VnX79WL82SD6Up01qQUNRldnCvi37HeEuTrTdBPU,13266
44
44
  zwave_js_server/model/version.py,sha256=EnyL6O8r2gSv7qLIuZ-sWnybG5JnJWw-IEE5UtIUjiM,1272
45
45
  zwave_js_server/model/config_manager/__init__.py,sha256=g1qEnadcfG7P8AJrUjxTeke9OBaKFiLVelgTQQJRMx4,1246
46
- zwave_js_server/model/controller/__init__.py,sha256=iIpxFeyPhsredhh8fMKc2y4TWCIU12F4dPFSylMVMP4,37130
46
+ zwave_js_server/model/controller/__init__.py,sha256=d2htuMJhnwF9CdcaIK7sRExDJ1ljH6ypsKOk5mu6k4M,37378
47
47
  zwave_js_server/model/controller/data_model.py,sha256=5e6M0t7RkSJytovmDz1tULMFFoCQ1TsGHe56scrZRqI,851
48
48
  zwave_js_server/model/controller/event_model.py,sha256=BtacPbezXVByd9kuMSHysywLP3eCz5VgTdWs2NmA65M,9518
49
49
  zwave_js_server/model/controller/inclusion_and_provisioning.py,sha256=PAO5HQE_yyTMxoVN3Woth1qC_oL6EzJNJ7NEvMtpBEA,7667
@@ -66,9 +66,9 @@ zwave_js_server/util/command_class/__init__.py,sha256=sRxti47ekLTzfk8B609CMQumIb
66
66
  zwave_js_server/util/command_class/energy_production.py,sha256=K1VmGDlqXmKDfQRpTu5o99sjnDShBMV_crEb49o-O_4,1489
67
67
  zwave_js_server/util/command_class/meter.py,sha256=tJ7rbwWUZbJCS7xEJWS_KnqUUGR8RN0f2S8iLkufae0,1258
68
68
  zwave_js_server/util/command_class/multilevel_sensor.py,sha256=wG4GQ0kjrP6d3x5DpEkUHrZd8-0LbvXoYdIxZAf6bso,1427
69
- zwave_js_server_python-0.64.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
70
- zwave_js_server_python-0.64.0.dist-info/METADATA,sha256=JQb47TZYIr0rpJg_5VotGDyghTPJrf9C1QQNyxVaxDs,1927
71
- zwave_js_server_python-0.64.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
- zwave_js_server_python-0.64.0.dist-info/entry_points.txt,sha256=lvzma7Rd_3FW_k-_xGuTfpvcvA2MR_22DOz5f1t7-xg,73
73
- zwave_js_server_python-0.64.0.dist-info/top_level.txt,sha256=-hwsl-i4Av5Op_yfOHC_OP56KPmzp_iVEkeohRIN5Ng,16
74
- zwave_js_server_python-0.64.0.dist-info/RECORD,,
69
+ zwave_js_server_python-0.65.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
70
+ zwave_js_server_python-0.65.0.dist-info/METADATA,sha256=BhcNcKhkENka1CwbOlJxBJWHvVz4iBpH0W-tnB6tG0c,1927
71
+ zwave_js_server_python-0.65.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
+ zwave_js_server_python-0.65.0.dist-info/entry_points.txt,sha256=lvzma7Rd_3FW_k-_xGuTfpvcvA2MR_22DOz5f1t7-xg,73
73
+ zwave_js_server_python-0.65.0.dist-info/top_level.txt,sha256=-hwsl-i4Av5Op_yfOHC_OP56KPmzp_iVEkeohRIN5Ng,16
74
+ zwave_js_server_python-0.65.0.dist-info/RECORD,,