simo 1.6.14__py3-none-any.whl → 1.6.16__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 simo might be problematic. Click here for more details.

Binary file
simo/core/events.py CHANGED
@@ -143,7 +143,7 @@ class OnChangeMixin:
143
143
 
144
144
  def get_instance(self):
145
145
  # default for component
146
- return self.zone.instance.timezone
146
+ return self.zone.instance
147
147
 
148
148
  def on_mqtt_connect(self, mqtt_client, userdata, flags, rc):
149
149
  mqtt_client.subscribe(ObjectManagementEvent.TOPIC)
simo/core/gateways.py CHANGED
@@ -86,7 +86,10 @@ class BaseObjectCommandsGatewayHandler(BaseGatewayHandler):
86
86
  if not component:
87
87
  return
88
88
  print("Perform Value Send!")
89
- self.perform_value_send(component, set_val)
89
+ try:
90
+ self.perform_value_send(component, set_val)
91
+ except Exception as e:
92
+ self.logger.error(e, exc_info=True)
90
93
 
91
94
  def perform_value_send(self, component, value):
92
95
  raise NotImplemented()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: simo
3
- Version: 1.6.14
3
+ Version: 1.6.16
4
4
  Summary: Smart Home on Steroids!
5
5
  Author-email: Simanas Venčkauskas <simanas@simo.io>
6
6
  Project-URL: Homepage, https://simo.io
@@ -32,10 +32,10 @@ simo/core/base_types.py,sha256=OkRoAHp8P3r79k3IlUzkhycqlHDkeq7AAhOgsz7qGz8,552
32
32
  simo/core/context.py,sha256=xmGQ5h6HXw9-_XTuJSXyNiWDRHAVauqGCxmSJo0mxjE,1261
33
33
  simo/core/controllers.py,sha256=pP93QRFdCDRdo-yOqZTHD_LBRkbM-LWeGwWpDanS6os,22836
34
34
  simo/core/dynamic_settings.py,sha256=gLAL4IiZ55T-zXPsfwpaIYpw-QPfxkEJVbt-wNIlyrY,2214
35
- simo/core/events.py,sha256=519y8WmL_GyKbzju2X9YRo5bjrzAL_3AEMW0uaxzWpY,5538
35
+ simo/core/events.py,sha256=dtySnfhWUeqfVMI4xQBgbw-OfcGbJJ3N8NfPEVGuRLU,5529
36
36
  simo/core/filters.py,sha256=ghtOZcrwNAkIyF5_G9Sn73NkiI71mXv0NhwCk4IyMIM,411
37
37
  simo/core/forms.py,sha256=s-Cjw--vibCmxk6IQ_4M5IQOMuE3Z8re75NFPPmi4O4,19735
38
- simo/core/gateways.py,sha256=pFTOAfiglyGZ-6NCAHZZs1Lhnp0rVb3IhNc1vX7cZmY,2563
38
+ simo/core/gateways.py,sha256=VkfKixXXEpjdU_cIYvev_sdz4menoMeJMFEElrsp7kE,2659
39
39
  simo/core/loggers.py,sha256=EBdq23gTQScVfQVH-xeP90-wII2DQFDjoROAW6ggUP4,1645
40
40
  simo/core/middleware.py,sha256=2EELD2mMWpPl3ispu2Yl7zeXUZp7s-PAJm-W-3BRsF0,1565
41
41
  simo/core/models.py,sha256=m912O5z4fLYRGY58e5t4ZGZvKL06QPG_K5j4OWwLRYc,17862
@@ -67,12 +67,12 @@ simo/core/__pycache__/controllers.cpython-37.pyc,sha256=18C2XXXvrzaipTVWRx_KFDHP
67
67
  simo/core/__pycache__/controllers.cpython-38.pyc,sha256=eiTXqx3QmLmJFAqBXWVJNcObdLUJCYO1_AdzG1zM0uQ,21094
68
68
  simo/core/__pycache__/dynamic_settings.cpython-38.pyc,sha256=J8RnlRk8G4Q9NFTHOoIzOZzdEdx5LgMItk82_xR_5xI,2754
69
69
  simo/core/__pycache__/events.cpython-37.pyc,sha256=E17-McBIoKrqwv1Qjh0WaVKYvcL-xzGRXvCg70uRUgs,3154
70
- simo/core/__pycache__/events.cpython-38.pyc,sha256=ui9sQCeMtPtILi99GbOLSN5GGQkvpGCjNi3jLB40TTs,6422
70
+ simo/core/__pycache__/events.cpython-38.pyc,sha256=GoIg6o5VUR65fCtFw5sw_e3Yls5WErGtufxwAij7wLE,6415
71
71
  simo/core/__pycache__/filters.cpython-38.pyc,sha256=d2yr0vEtbHsi5L4dysiRz4_m3Zz6ZMGV569mJTzB9Ro,713
72
72
  simo/core/__pycache__/forms.cpython-37.pyc,sha256=jTCg2uFkNumlWn5IEXay9_hL4wbAfZgmqZzhAaRBf6c,1784
73
73
  simo/core/__pycache__/forms.cpython-38.pyc,sha256=5N-umEqnAyIh5gYYLLLKAT-uWlDRFFTjvIDeOphFGe8,16394
74
74
  simo/core/__pycache__/gateways.cpython-37.pyc,sha256=-0BwLaNeUv5eWJXouios9-746fTajYUoXscti5FnaG0,593
75
- simo/core/__pycache__/gateways.cpython-38.pyc,sha256=Ua2i8TLIjvhJzW0TOWrBmdWt9T89jfc20VNo7-9ACh8,3585
75
+ simo/core/__pycache__/gateways.cpython-38.pyc,sha256=AO71NeMeeuJyTI0Nt1tuHT1ijQ_NbSJ6IpuLKfpzHpY,3681
76
76
  simo/core/__pycache__/loggers.cpython-38.pyc,sha256=Z-cdQnC6XlIonPV4Sl4E52tP4NMEdPAiHK0cFaIL7I8,1623
77
77
  simo/core/__pycache__/middleware.cpython-38.pyc,sha256=i2OcsCi2T8IYydgzWPjcWOxTP95iKkJ053EYTqpt_u8,1672
78
78
  simo/core/__pycache__/models.cpython-37.pyc,sha256=kJ1wVtRlrDNAD6svKaiDTNRx7d4t5ect_hsDgpgzb0M,4240
@@ -10275,8 +10275,8 @@ simo/users/templates/invitations/expired_msg.html,sha256=3hTtUm-Cr1axOjlwAIKsSj9
10275
10275
  simo/users/templates/invitations/expired_suggestion.html,sha256=pT67ludJdeohrlF0QIzs4eqy1SI_oH2i6H0ecEIgaCg,100
10276
10276
  simo/users/templates/invitations/taken_msg.html,sha256=Dv1MaxVVmSdL20gri4Ei-K0aZ0OTmIdmO6a3l5MKwCs,445
10277
10277
  simo/users/templates/invitations/taken_suggestion.html,sha256=NCE2XQail0WQGW8v6y3BkQoM3IOWlh02z9XPEws659E,301
10278
- simo-1.6.14.dist-info/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
10279
- simo-1.6.14.dist-info/METADATA,sha256=7h8Q5ofpMm0MngFw3-p6EaqBWvWuMy5v3wTUEE9TjDU,1749
10280
- simo-1.6.14.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10281
- simo-1.6.14.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
10282
- simo-1.6.14.dist-info/RECORD,,
10278
+ simo-1.6.16.dist-info/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
10279
+ simo-1.6.16.dist-info/METADATA,sha256=tANuAl4QNGGC5yZz_ZcBcML-8OFx5iwWr2ndeBkKM7g,1749
10280
+ simo-1.6.16.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10281
+ simo-1.6.16.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
10282
+ simo-1.6.16.dist-info/RECORD,,
File without changes