boneIO 0.9.0.dev13__py3-none-any.whl → 0.9.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.
boneio/manager.py CHANGED
@@ -61,7 +61,7 @@ from boneio.helper import (
61
61
  )
62
62
  from boneio.helper.config import ConfigHelper
63
63
  from boneio.helper.events import EventBus
64
- from boneio.helper.exceptions import ModbusUartException, RestartRequestException
64
+ from boneio.helper.exceptions import ModbusUartException
65
65
  from boneio.helper.gpio import GpioBaseClass
66
66
  from boneio.helper.loader import (
67
67
  configure_binary_sensor,
@@ -871,8 +871,8 @@ class Manager:
871
871
 
872
872
  async def restart_request(self) -> None:
873
873
  _LOGGER.info("Restarting process. Systemd should restart it soon.")
874
- await self.event_bus.ask_stop()
875
- raise RestartRequestException
874
+ import os
875
+ os._exit(0) # Terminate the process
876
876
 
877
877
  @property
878
878
  def outputs(self) -> dict:
boneio/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  # flake8: noqa
2
- __version__ = "0.9.0dev13"
2
+ __version__ = "0.9.0dev14"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boneio
3
- Version: 0.9.0dev13
3
+ Version: 0.9.0dev14
4
4
  Summary: Python App for BoneIO
5
5
  License: GNU General Public License v3.0
6
6
  Author-email: Paweł Szafer <pszafer@gmail.com>
@@ -54,7 +54,7 @@ boneio/helper/yaml_util.py,sha256=0E3lST1sfXSlWcL8GoKOyiipkHdMbd9JJ20lgE9WN30,18
54
54
  boneio/input/__init__.py,sha256=8Hcps-wCCl6bCAMoEmDJecR-Q9giFL29AvG1ZGe0dZw,200
55
55
  boneio/input/gpio.py,sha256=vdQuvWlwV41mbLgLRi-z1vpmRj61HDsmbJrYUoCOHkM,2675
56
56
  boneio/input/gpio_new.py,sha256=Br2Lw5bci1_qb_UO63tJr4uBSjCkBvjGdzla4s1ctS8,3050
57
- boneio/manager.py,sha256=y2NQdbitpR2wAN947qV-aCKlz80TfSbLTZOon2Ns3QA,32874
57
+ boneio/manager.py,sha256=5q-q1FGs_v73fxthgKGqNCSja2D1QLmHRQnzeBJdkak,32834
58
58
  boneio/modbus/__init__.py,sha256=yeHIxZ0_u7eCL7CqScvob5Utcru6Iza0LEtTagEtNtw,116
59
59
  boneio/modbus/client.py,sha256=v_w6HOFH4e-CWcSjpyBojLhglIqJ6kPVXOLEDAEmsI0,8137
60
60
  boneio/modbus/cwt.json,sha256=PCn9t5wQkNCD8AqwXSoJ3cEm50bKAX4FmPw6fWCvLrg,908
@@ -105,7 +105,7 @@ boneio/sensor/temp/__init__.py,sha256=XA0Jew4CJqyOCn06D6pXTELhT60885UaTxFdIqtXE-
105
105
  boneio/sensor/temp/dallas.py,sha256=qOhoZvBqgwDTy3Q7r1UUFbGoteUKMFsqpjBQgPm16rw,2690
106
106
  boneio/sensor/temp/lm75.py,sha256=-mpOv78429plRPBp9s09Ljz1x2Bdxuagalqz40vlAKE,243
107
107
  boneio/sensor/temp/mcp9808.py,sha256=yAh5yJzZLGTqa39xV4fyqsruj7oy3niOZAUV2W6eyCM,271
108
- boneio/version.py,sha256=uMOqK1lAhNpEthY3GYYK3iT9kZ6RmqRYb9s69I8R-u8,42
108
+ boneio/version.py,sha256=cOta3JNrHmzmQqJre0yWTrli_BENKeRiSeqggNs6c3c,42
109
109
  boneio/webui/app.py,sha256=JG6oi0QcQua4jk8uYpSXoDyhMCiLxx3WRzs9PLLOIKo,33323
110
110
  boneio/webui/frontend-dist/assets/abap-BrgZPUOV.js,sha256=o-KiQdqDx6qAg2rOn7OyokL0WP-Rffnxk2Py5kMN0Fk,14409
111
111
  boneio/webui/frontend-dist/assets/apex-DyP6w7ZV.js,sha256=nm1bQzOU_JCzp8WFFKtYxrtJ50DvA-FGkoo_0Ala62g,4198
@@ -226,8 +226,8 @@ boneio/webui/schema/sensor.schema.json,sha256=OGRunW_aAOfp2q0IU1aD3WRO7wEFsSknCl
226
226
  boneio/webui/schema/web.schema.json,sha256=hoixKf8J51D-UxGawcnD1UsgQFY07bqCQNereTaaNqw,1342
227
227
  boneio/webui/web_server.py,sha256=CDB19_yZpStAnrbFjucE7AN8i_pShMXjAbBCmNwdaCE,5102
228
228
  boneio/webui/websocket_manager.py,sha256=K9KXIT0OvK_ILNmM5GIH1f7FiYkk0vTNM0iJQh5Jdfg,5365
229
- boneio-0.9.0.dev13.dist-info/entry_points.txt,sha256=Igl1SMDEWwMg144bwRz28UOCb80hdxomC99QJ3u6qC0,46
230
- boneio-0.9.0.dev13.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
231
- boneio-0.9.0.dev13.dist-info/METADATA,sha256=4s4D5PxjgUTbyWvITyDhN1E16GcDzU2pcT3cwKNY88k,1978
232
- boneio-0.9.0.dev13.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
233
- boneio-0.9.0.dev13.dist-info/RECORD,,
229
+ boneio-0.9.0.dev14.dist-info/entry_points.txt,sha256=Igl1SMDEWwMg144bwRz28UOCb80hdxomC99QJ3u6qC0,46
230
+ boneio-0.9.0.dev14.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
231
+ boneio-0.9.0.dev14.dist-info/METADATA,sha256=veeb1g-pDyxBxa3WTiXkcx4OR7RlOWFmlx8h3YAyHvY,1978
232
+ boneio-0.9.0.dev14.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
233
+ boneio-0.9.0.dev14.dist-info/RECORD,,