pypck 0.9.4__py3-none-any.whl → 0.9.6__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.
pypck/device.py CHANGED
@@ -911,6 +911,9 @@ class DeviceConnection:
911
911
  # (variable response is typeless)
912
912
  if self.serials.software_serial < 0x170206:
913
913
  max_age = 0
914
+ variable_response = lcn_defs.Var.UNKNOWN
915
+ else:
916
+ variable_response = variable
914
917
 
915
918
  result = await self.status_requester.request(
916
919
  response_type=inputs.ModStatusVar,
@@ -918,7 +921,7 @@ class DeviceConnection:
918
921
  variable, self.serials.software_serial
919
922
  ),
920
923
  max_age=max_age,
921
- var=variable,
924
+ var=variable_response,
922
925
  )
923
926
 
924
927
  result = cast(inputs.ModStatusVar, result)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypck
3
- Version: 0.9.4
3
+ Version: 0.9.6
4
4
  Summary: LCN-PCK library
5
5
  Home-page: https://github.com/alengwenus/pypck
6
6
  Author-email: Andre Lengwenus <alengwenus@gmail.com>
@@ -1,6 +1,6 @@
1
1
  pypck/__init__.py,sha256=jVx-aBsV_LmBf6jiivMrMcBUofC_AOseywDafgOzAS4,323
2
2
  pypck/connection.py,sha256=n3itRe8oQtw64vyWGYhl6j4QJC6wgeeHitBSn-Cl2_4,23330
3
- pypck/device.py,sha256=sR9FtHQ84uUjxiWBEt8qqGWoEMn9HWwuTlBLzEwUVtw,39313
3
+ pypck/device.py,sha256=LmoqAyvQD98abCOFgMmIC9-gU6HPq3hHB9uY4wzN1ZY,39430
4
4
  pypck/helpers.py,sha256=_5doqIsSRpqdQNPIUsjFh813xKGuMuEFY6sNGobJGIk,1280
5
5
  pypck/inputs.py,sha256=F7E8rprIhYzZnHARozt_hguYNgJaiNP3htrZ2E3Qa5I,45951
6
6
  pypck/lcn_addr.py,sha256=N2Od8KuANOglqKjf596hJVH1SRcG7MhESKA5YYlDnbw,1946
@@ -8,8 +8,8 @@ pypck/lcn_defs.py,sha256=wSceYBwM46NqPwvff1hi8RluqUECmNY1gNcm1kDKTaI,43356
8
8
  pypck/pck_commands.py,sha256=eJxmh2e8EbKGpek97L2961Kr_nVfT8rKgJCN3YgjIQM,50458
9
9
  pypck/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  pypck/status_requester.py,sha256=10N5pbIBe_Ao-9ui_D7mCavk21BYZs9c-kxcTtmi-FI,5721
11
- pypck-0.9.4.dist-info/licenses/LICENSE,sha256=iYB6zyMJvShfAzQE7nhYFgLzzZuBmhasLw5fYP9KRz4,1023
12
- pypck-0.9.4.dist-info/METADATA,sha256=9fz5eH50liD4D9pv54ye7XcWc1KDJvi1i46gF3cic_A,2682
13
- pypck-0.9.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
- pypck-0.9.4.dist-info/top_level.txt,sha256=59ried49iFueDa5mQ_5BGVZcESjjzi4MZZKLcganvQA,6
15
- pypck-0.9.4.dist-info/RECORD,,
11
+ pypck-0.9.6.dist-info/licenses/LICENSE,sha256=iYB6zyMJvShfAzQE7nhYFgLzzZuBmhasLw5fYP9KRz4,1023
12
+ pypck-0.9.6.dist-info/METADATA,sha256=D_SIiIwNkfit6m85o_Bc_CIerldSLAZp-qnIiYW5NLQ,2682
13
+ pypck-0.9.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
+ pypck-0.9.6.dist-info/top_level.txt,sha256=59ried49iFueDa5mQ_5BGVZcESjjzi4MZZKLcganvQA,6
15
+ pypck-0.9.6.dist-info/RECORD,,
File without changes