boneIO 0.6.1dev2__py3-none-any.whl → 0.6.1dev3__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.

Potentially problematic release.


This version of boneIO might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: boneIO
3
- Version: 0.6.1dev2
3
+ Version: 0.6.1dev3
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>
@@ -36,7 +36,7 @@ boneio/helper/util.py,sha256=QfSoT3H3WnOQAKO5bFRIBCy62HT5NMa9Ek-FmfTW_rw,508
36
36
  boneio/helper/yaml_util.py,sha256=gAX7hCaHUlPgkhGCIQ4zjv0Vj9JmLzQsSyF51ZmSb9g,11304
37
37
  boneio/input/__init__.py,sha256=u9wuehuC_TNizL4tyn7EygZW5LaTFjSnFaZeZr3zZ1U,99
38
38
  boneio/input/gpio.py,sha256=7teo2fDyDUarorCn9REF5sGFMIimRrWaKOqildYG8_Y,2597
39
- boneio/manager.py,sha256=cs2vy-26kvQROWHjHopACY2U1OLufcsu522RjShVXyQ,21023
39
+ boneio/manager.py,sha256=ZldVPnmQ_IRu3ldj7p2HR0-tobNeRjRf2pBM3V3qm-E,20922
40
40
  boneio/modbus.py,sha256=eA_sGnmdcIneXX75ZcXOI223-UkKN1UYmWFqiJBAhJo,4176
41
41
  boneio/mqtt_client.py,sha256=NYvok8y_g8iRXDopVojzcDGVnDJEFqHBEYhOGy8m7T8,8331
42
42
  boneio/oled.py,sha256=d_ofDQHc7zr3j0qOR0B_L3C8TJhvRH85nnb9Le-88nk,5244
@@ -69,9 +69,9 @@ boneio/sensor/temp/__init__.py,sha256=OViqBb7DwVn_aFIy6V0iqkSUDjsDNLQ5sOS_4frYdw
69
69
  boneio/sensor/temp/dallas.py,sha256=xrvd1LNBh1fRcjz_yd_9S29Lv26ItVtLCmhZgVQWJos,2485
70
70
  boneio/sensor/temp/lm75.py,sha256=-mpOv78429plRPBp9s09Ljz1x2Bdxuagalqz40vlAKE,243
71
71
  boneio/sensor/temp/mcp9808.py,sha256=yAh5yJzZLGTqa39xV4fyqsruj7oy3niOZAUV2W6eyCM,271
72
- boneio/version.py,sha256=m3ydJhgfj3HkpDmGgH9_bPZTvw0tiXIw8U3oYOjNlRg,41
73
- boneIO-0.6.1.dev2.dist-info/entry_points.txt,sha256=Igl1SMDEWwMg144bwRz28UOCb80hdxomC99QJ3u6qC0,46
74
- boneIO-0.6.1.dev2.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
75
- boneIO-0.6.1.dev2.dist-info/METADATA,sha256=oUsaBxizn26BttbzpHQn9PznPpKpgRr6dw-xCObtntY,1698
76
- boneIO-0.6.1.dev2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
77
- boneIO-0.6.1.dev2.dist-info/RECORD,,
72
+ boneio/version.py,sha256=W0RqcANkEzDOCohLa2bl5DwVWOCTNmwmtLDps_WOfZU,41
73
+ boneIO-0.6.1.dev3.dist-info/entry_points.txt,sha256=Igl1SMDEWwMg144bwRz28UOCb80hdxomC99QJ3u6qC0,46
74
+ boneIO-0.6.1.dev3.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
75
+ boneIO-0.6.1.dev3.dist-info/METADATA,sha256=mCo8_aBpvgQkEHcIah8Cj4IRgY40INtk49p2DiOptgE,1698
76
+ boneIO-0.6.1.dev3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
77
+ boneIO-0.6.1.dev3.dist-info/RECORD,,
boneio/manager.py CHANGED
@@ -152,15 +152,14 @@ class Manager:
152
152
  continue
153
153
  self._output[_id] = out
154
154
  if out.output_type != NONE:
155
- if out.output_type in AVAILABILITY_FUNCTION_CHOOSER:
156
- self.send_ha_autodiscovery(
157
- id=out.id,
158
- name=out.name,
159
- ha_type=LIGHT if out.output_type == LED else out.output_type,
160
- availability_msg_func=AVAILABILITY_FUNCTION_CHOOSER.get(
161
- out.output_type, ha_switch_availabilty_message
162
- ),
163
- )
155
+ self.send_ha_autodiscovery(
156
+ id=out.id,
157
+ name=out.name,
158
+ ha_type=LIGHT if out.output_type == LED else out.output_type,
159
+ availability_msg_func=AVAILABILITY_FUNCTION_CHOOSER.get(
160
+ out.output_type, ha_switch_availabilty_message
161
+ ),
162
+ )
164
163
  self._loop.call_soon_threadsafe(
165
164
  self._loop.call_later,
166
165
  0.5,
boneio/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  # flake8: noqa
2
- __version__ = "0.6.1dev2"
2
+ __version__ = "0.6.1dev3"