boneIO 0.9.3.dev1__py3-none-any.whl → 0.9.4.dev2__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 +8 -7
- boneio/version.py +1 -1
- {boneio-0.9.3.dev1.dist-info → boneio-0.9.4.dev2.dist-info}/METADATA +1 -1
- {boneio-0.9.3.dev1.dist-info → boneio-0.9.4.dev2.dist-info}/RECORD +7 -7
- {boneio-0.9.3.dev1.dist-info → boneio-0.9.4.dev2.dist-info}/WHEEL +0 -0
- {boneio-0.9.3.dev1.dist-info → boneio-0.9.4.dev2.dist-info}/entry_points.txt +0 -0
- {boneio-0.9.3.dev1.dist-info → boneio-0.9.4.dev2.dist-info}/licenses/LICENSE +0 -0
boneio/manager.py
CHANGED
|
@@ -728,6 +728,14 @@ class Manager:
|
|
|
728
728
|
action = action_definition.get("action")
|
|
729
729
|
action_output = action_definition.get("action_output")
|
|
730
730
|
action_cover = action_definition.get("action_cover")
|
|
731
|
+
if action == MQTT:
|
|
732
|
+
action_topic = action_definition.get(TOPIC)
|
|
733
|
+
action_payload = action_definition.get("action_mqtt_msg")
|
|
734
|
+
if action_topic and action_payload:
|
|
735
|
+
self.send_message(
|
|
736
|
+
topic=action_topic, payload=action_payload, retain=False
|
|
737
|
+
)
|
|
738
|
+
continue
|
|
731
739
|
output, action = self.get_output_and_action(
|
|
732
740
|
device_id=device_id,
|
|
733
741
|
action=action,
|
|
@@ -740,13 +748,6 @@ class Manager:
|
|
|
740
748
|
)
|
|
741
749
|
_f = getattr(output, action)
|
|
742
750
|
await _f()
|
|
743
|
-
elif action == MQTT:
|
|
744
|
-
action_topic = action_definition.get(TOPIC)
|
|
745
|
-
action_payload = action_definition.get("action_mqtt_msg")
|
|
746
|
-
if action_topic and action_payload:
|
|
747
|
-
self.send_message(
|
|
748
|
-
topic=action_topic, payload=action_payload, retain=False
|
|
749
|
-
)
|
|
750
751
|
else:
|
|
751
752
|
if not action:
|
|
752
753
|
_LOGGER.warning(
|
boneio/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# flake8: noqa
|
|
2
|
-
__version__ = "0.9.
|
|
2
|
+
__version__ = "0.9.4dev2"
|
|
@@ -57,7 +57,7 @@ boneio/helper/yaml_util.py,sha256=SW7u6i4Re_u4bm-aW-_Wk9piQz949kgjiwk8Y3kTObY,18
|
|
|
57
57
|
boneio/input/__init__.py,sha256=8Hcps-wCCl6bCAMoEmDJecR-Q9giFL29AvG1ZGe0dZw,200
|
|
58
58
|
boneio/input/gpio.py,sha256=vdQuvWlwV41mbLgLRi-z1vpmRj61HDsmbJrYUoCOHkM,2675
|
|
59
59
|
boneio/input/gpio_new.py,sha256=Br2Lw5bci1_qb_UO63tJr4uBSjCkBvjGdzla4s1ctS8,3050
|
|
60
|
-
boneio/manager.py,sha256=
|
|
60
|
+
boneio/manager.py,sha256=XC-gWMaWJPnDkAcZSWB_sU8LYOHc6YWDcrGUoZ73Viw,32887
|
|
61
61
|
boneio/modbus/__init__.py,sha256=yeHIxZ0_u7eCL7CqScvob5Utcru6Iza0LEtTagEtNtw,116
|
|
62
62
|
boneio/modbus/client.py,sha256=v_w6HOFH4e-CWcSjpyBojLhglIqJ6kPVXOLEDAEmsI0,8137
|
|
63
63
|
boneio/modbus/cwt.json,sha256=PCn9t5wQkNCD8AqwXSoJ3cEm50bKAX4FmPw6fWCvLrg,908
|
|
@@ -108,7 +108,7 @@ boneio/sensor/temp/__init__.py,sha256=XA0Jew4CJqyOCn06D6pXTELhT60885UaTxFdIqtXE-
|
|
|
108
108
|
boneio/sensor/temp/dallas.py,sha256=qOhoZvBqgwDTy3Q7r1UUFbGoteUKMFsqpjBQgPm16rw,2690
|
|
109
109
|
boneio/sensor/temp/lm75.py,sha256=-mpOv78429plRPBp9s09Ljz1x2Bdxuagalqz40vlAKE,243
|
|
110
110
|
boneio/sensor/temp/mcp9808.py,sha256=yAh5yJzZLGTqa39xV4fyqsruj7oy3niOZAUV2W6eyCM,271
|
|
111
|
-
boneio/version.py,sha256=
|
|
111
|
+
boneio/version.py,sha256=hFc5nzKzhRB3ECxi8iXusf9NHuTCGShZNbWGN4KIw3s,41
|
|
112
112
|
boneio/webui/app.py,sha256=JG6oi0QcQua4jk8uYpSXoDyhMCiLxx3WRzs9PLLOIKo,33323
|
|
113
113
|
boneio/webui/frontend-dist/assets/abap-BrgZPUOV.js,sha256=o-KiQdqDx6qAg2rOn7OyokL0WP-Rffnxk2Py5kMN0Fk,14409
|
|
114
114
|
boneio/webui/frontend-dist/assets/apex-DyP6w7ZV.js,sha256=nm1bQzOU_JCzp8WFFKtYxrtJ50DvA-FGkoo_0Ala62g,4198
|
|
@@ -229,8 +229,8 @@ boneio/webui/schema/sensor.schema.json,sha256=OGRunW_aAOfp2q0IU1aD3WRO7wEFsSknCl
|
|
|
229
229
|
boneio/webui/schema/web.schema.json,sha256=hoixKf8J51D-UxGawcnD1UsgQFY07bqCQNereTaaNqw,1342
|
|
230
230
|
boneio/webui/web_server.py,sha256=CDB19_yZpStAnrbFjucE7AN8i_pShMXjAbBCmNwdaCE,5102
|
|
231
231
|
boneio/webui/websocket_manager.py,sha256=K9KXIT0OvK_ILNmM5GIH1f7FiYkk0vTNM0iJQh5Jdfg,5365
|
|
232
|
-
boneio-0.9.
|
|
233
|
-
boneio-0.9.
|
|
234
|
-
boneio-0.9.
|
|
235
|
-
boneio-0.9.
|
|
236
|
-
boneio-0.9.
|
|
232
|
+
boneio-0.9.4.dev2.dist-info/entry_points.txt,sha256=Igl1SMDEWwMg144bwRz28UOCb80hdxomC99QJ3u6qC0,46
|
|
233
|
+
boneio-0.9.4.dev2.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
|
|
234
|
+
boneio-0.9.4.dev2.dist-info/METADATA,sha256=A1tu94El04iuUEBv8BgUht4zGbt08gwaZQ0duUCtcbo,1977
|
|
235
|
+
boneio-0.9.4.dev2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
236
|
+
boneio-0.9.4.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|