boneIO 1.3.0.dev13__py3-none-any.whl → 1.3.0.dev14__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.
@@ -630,7 +630,7 @@ class ModbusCoordinator(BasicMqtt, AsyncUpdater, Filter):
630
630
  Output dictionary with updated states
631
631
  """
632
632
  source_sensor = self.get_entity_by_name(entity.source_sensor_decoded_name)
633
- if not source_sensor or not source_sensor.write_address:
633
+ if not source_sensor or source_sensor.write_address is None:
634
634
  _LOGGER.error(
635
635
  "Source sensor %s has no write address",
636
636
  source_sensor.name if source_sensor else "Unknown"
@@ -681,7 +681,7 @@ class ModbusCoordinator(BasicMqtt, AsyncUpdater, Filter):
681
681
  Returns:
682
682
  Output dictionary with updated states
683
683
  """
684
- if not hasattr(entity, 'write_address') or not entity.write_address:
684
+ if not hasattr(entity, 'write_address') or entity.write_address is None:
685
685
  _LOGGER.error(
686
686
  "Modbus sensor %s has no write address",
687
687
  entity.name if hasattr(entity, 'name') else 'Unknown'
boneio/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  # flake8: noqa
2
- __version__ = "1.3.0dev13"
2
+ __version__ = "1.3.0dev14"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boneio
3
- Version: 1.3.0.dev13
3
+ Version: 1.3.0.dev14
4
4
  Summary: Python App for BoneIO
5
5
  Author-email: Paweł Szafer <pszafer@gmail.com>
6
6
  License: GNU General Public License v3.0
@@ -3,7 +3,7 @@ boneio/bonecli.py,sha256=yi59M5dEhrr_2eIRSAclDxD6atPyHGUGijwomfK_0t8,13062
3
3
  boneio/const.py,sha256=M981R2gwfjDX3lcoufWOyGlNxvGMESWgXOjVkmJfX60,7208
4
4
  boneio/exceptions.py,sha256=cBph-TsLF7FSz6p4wYeMs3pjVmVRaNQRJP82JgYYV-c,810
5
5
  boneio/runner.py,sha256=rbhY0RRz4wwlL7nwcbLEdwKILzYCtXLpud2PY7N4O08,16709
6
- boneio/version.py,sha256=QxyObUTIiVvjHCl5rs19R3QcD013lNVDFdkb5Ocoz-4,42
6
+ boneio/version.py,sha256=8zaK6f1Hs7UDYwFoTbXlCpJMfmVmQGaGEc93X_pJoD0,42
7
7
  boneio/boards/0.2/input.yaml,sha256=3HA3rBG23frhZWDcNu76U-Hz5r_uG6WvSsGnXkNE4nE,1581
8
8
  boneio/boards/0.2/output_24_16.yaml,sha256=GQGM3gUK7UobdGL-Ejt9UKdCs1HLPgZ7kziVZ1tjQlA,1462
9
9
  boneio/boards/0.2/output_32_10.yaml,sha256=169ubuzRqFLGiOr7zgB1xL1tKdQyOx2FJZvTCkxCA4U,1920
@@ -226,7 +226,7 @@ boneio/integration/interlock.py,sha256=yXVIoMW2_uyfIsPV3jMCoYgla3QsCHL1KAQ6TK-da
226
226
  boneio/modbus/__init__.py,sha256=TG1IfP8u0gsj5y2GxBSG_nRNvqKQYRF8EG398_M6Ifk,110
227
227
  boneio/modbus/cli.py,sha256=otLEdBIfH30AYsLCWt276SpeIEVcnK10obR4s_Yyv0M,10443
228
228
  boneio/modbus/client.py,sha256=fmxdPPZIGnWraYMJv0qfLPt6kbgEobMZFW9pM0mHETA,17428
229
- boneio/modbus/coordinator.py,sha256=dpI5BhSnGnK13tnXuEN_AOaCvPAPlm0PZ1ol5H1c_nA,42494
229
+ boneio/modbus/coordinator.py,sha256=FcSc8O6Pi7jPbyuW0Od7f249VGCemikk5nGz-7t96wI,42502
230
230
  boneio/modbus/utils.py,sha256=YlL-xkAXkozGF2H7GVhe5LXKzAxZ-9iic6NCsXPEL20,196
231
231
  boneio/modbus/devices/__init__.py,sha256=5rtvjoDzKicJCEb3Mz9L9nnw1V2Kww8mn9PtUHZweXQ,356
232
232
  boneio/modbus/devices/energy_meters/le-03mw.json,sha256=hgU4lCPBWlNn4b_FgB4iGeeZ06crDRxMzQ8Rh2CaQpI,10631
@@ -390,9 +390,9 @@ boneio/webui/schema/virtual_energy_sensor.schema.json,sha256=BN6Egh-CAnXSa80bQ6Y
390
390
  boneio/webui/schema/web.schema.json,sha256=cactLq1MVwDL5hu8bLeuq5yiz49BWVS4OtjWLmhbw2M,2592
391
391
  boneio/webui/services/__init__.py,sha256=l_L3YUPhc0ZbrWqKH1RurC7UQ4q0k-5ABGTwOSS-YFQ,282
392
392
  boneio/webui/services/logs.py,sha256=ampdsOx_xwOr0gRC-fW65c1y5Po0nACgUw0tG2bdqUM,11426
393
- boneio-1.3.0.dev13.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
394
- boneio-1.3.0.dev13.dist-info/METADATA,sha256=YvzAR44KpiB3HgpfbbNe6QGnB9Ul0vzT2fw6gLkZLgY,1962
395
- boneio-1.3.0.dev13.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
396
- boneio-1.3.0.dev13.dist-info/entry_points.txt,sha256=JX7gluDIkQ6MBlzzxGHMItnBjciiJ73tsXwYcazMW_U,47
397
- boneio-1.3.0.dev13.dist-info/top_level.txt,sha256=ag9S5n1_KXZfyk9tN8R0YUDYbdA--e5a2w2FOD_yMdg,7
398
- boneio-1.3.0.dev13.dist-info/RECORD,,
393
+ boneio-1.3.0.dev14.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
394
+ boneio-1.3.0.dev14.dist-info/METADATA,sha256=hqc8E-A49aafoD7tR84dPLW6Lh-f_bqznlisbENwXFo,1962
395
+ boneio-1.3.0.dev14.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
396
+ boneio-1.3.0.dev14.dist-info/entry_points.txt,sha256=JX7gluDIkQ6MBlzzxGHMItnBjciiJ73tsXwYcazMW_U,47
397
+ boneio-1.3.0.dev14.dist-info/top_level.txt,sha256=ag9S5n1_KXZfyk9tN8R0YUDYbdA--e5a2w2FOD_yMdg,7
398
+ boneio-1.3.0.dev14.dist-info/RECORD,,