simo 1.6.13__py3-none-any.whl → 1.6.15__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)
@@ -161,7 +161,7 @@ class OnChangeMixin:
161
161
  if 'value' not in payload.get('dirty_fields', {}):
162
162
  return
163
163
 
164
- tz = pytz.timezone(self.gget_instance().timezone)
164
+ tz = pytz.timezone(self.get_instance().timezone)
165
165
  timezone.activate(tz)
166
166
 
167
167
  self.refresh_from_db()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: simo
3
- Version: 1.6.13
3
+ Version: 1.6.15
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,7 +32,7 @@ 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=0q5Rez-C92JSJLo5PW1B8-lgWWRfF2OBH8XSPbHtN5c,5539
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
38
  simo/core/gateways.py,sha256=pFTOAfiglyGZ-6NCAHZZs1Lhnp0rVb3IhNc1vX7cZmY,2563
@@ -67,7 +67,7 @@ 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=4rZXOIYOrn5QyFHC06_nwemqNZ8ORd7a30Iii3kQj8U,6432
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
@@ -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.13.dist-info/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
10279
- simo-1.6.13.dist-info/METADATA,sha256=UvM-Em6H7r5xPjNUNOG_rjE5FMsnfyalsssdbSxUiMo,1749
10280
- simo-1.6.13.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10281
- simo-1.6.13.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
10282
- simo-1.6.13.dist-info/RECORD,,
10278
+ simo-1.6.15.dist-info/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
10279
+ simo-1.6.15.dist-info/METADATA,sha256=LkZa0NBAfgU2gIGbLcl5--BvAhixB7jVsGgvhqtfIOA,1749
10280
+ simo-1.6.15.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
10281
+ simo-1.6.15.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
10282
+ simo-1.6.15.dist-info/RECORD,,
File without changes