simo 2.2.4__py3-none-any.whl → 2.2.6__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.
- simo/core/__pycache__/serializers.cpython-38.pyc +0 -0
- simo/core/serializers.py +3 -0
- simo/fleet/forms.py +2 -2
- simo/generic/templates/admin/controller_widgets/weather_forecast.html +1 -1
- simo/management/__pycache__/auto_update.cpython-38.pyc +0 -0
- simo/users/__pycache__/models.cpython-38.pyc +0 -0
- simo/users/models.py +2 -0
- {simo-2.2.4.dist-info → simo-2.2.6.dist-info}/METADATA +1 -1
- {simo-2.2.4.dist-info → simo-2.2.6.dist-info}/RECORD +13 -12
- {simo-2.2.4.dist-info → simo-2.2.6.dist-info}/WHEEL +1 -1
- {simo-2.2.4.dist-info → simo-2.2.6.dist-info}/LICENSE.md +0 -0
- {simo-2.2.4.dist-info → simo-2.2.6.dist-info}/entry_points.txt +0 -0
- {simo-2.2.4.dist-info → simo-2.2.6.dist-info}/top_level.txt +0 -0
|
Binary file
|
simo/core/serializers.py
CHANGED
|
@@ -250,6 +250,7 @@ class ComponentSerializer(FormSerializer):
|
|
|
250
250
|
alive = ObjectSerializerMethodField()
|
|
251
251
|
error_msg = ObjectSerializerMethodField()
|
|
252
252
|
value = ObjectSerializerMethodField()
|
|
253
|
+
value_units = ObjectSerializerMethodField()
|
|
253
254
|
config = ObjectSerializerMethodField()
|
|
254
255
|
meta = ObjectSerializerMethodField()
|
|
255
256
|
alarm_category = ObjectSerializerMethodField()
|
|
@@ -524,6 +525,8 @@ class ComponentSerializer(FormSerializer):
|
|
|
524
525
|
return [c['id'] for c in obj.slaves.all().values('id')]
|
|
525
526
|
|
|
526
527
|
def get_masters_only(self, obj):
|
|
528
|
+
if not obj.controller:
|
|
529
|
+
return False
|
|
527
530
|
return obj.controller.masters_only
|
|
528
531
|
|
|
529
532
|
|
simo/fleet/forms.py
CHANGED
|
@@ -1194,7 +1194,7 @@ class BlindsConfigForm(ColonelComponentForm):
|
|
|
1194
1194
|
|
|
1195
1195
|
class BurglarSmokeDetectorConfigForm(ColonelComponentForm):
|
|
1196
1196
|
power_pin = ColonelPinChoiceField(
|
|
1197
|
-
label="
|
|
1197
|
+
label="Power port",
|
|
1198
1198
|
queryset=ColonelPin.objects.filter(output=True),
|
|
1199
1199
|
widget=autocomplete.ListSelect2(
|
|
1200
1200
|
url='autocomplete-colonel-pins',
|
|
@@ -1206,7 +1206,7 @@ class BurglarSmokeDetectorConfigForm(ColonelComponentForm):
|
|
|
1206
1206
|
)
|
|
1207
1207
|
)
|
|
1208
1208
|
sensor_pin = ColonelPinChoiceField(
|
|
1209
|
-
label="
|
|
1209
|
+
label="Sensor port",
|
|
1210
1210
|
queryset=ColonelPin.objects.filter(input=True),
|
|
1211
1211
|
widget=autocomplete.ListSelect2(
|
|
1212
1212
|
url='autocomplete-colonel-pins',
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
position: relative;
|
|
10
10
|
bottom: -4px;
|
|
11
11
|
"></span>
|
|
12
|
-
{{ obj.value.current.temp }}ᴼ {% if
|
|
12
|
+
{{ obj.value.current.temp }}ᴼ {% if obj.zone.instance.units_of_measure == 'metric' %}C{% else %}F{% endif %}
|
|
13
13
|
</div>
|
|
Binary file
|
|
Binary file
|
simo/users/models.py
CHANGED
|
@@ -36,7 +36,7 @@ simo/core/middleware.py,sha256=LIMpHJDQ4zx9dfmy5z0-rEW2EPO9d-iG1ZJbJ_6t6hc,1927
|
|
|
36
36
|
simo/core/models.py,sha256=Mg6UjGQjA5WtxO2kq9fO-iW2f9UzDh58etcZ9-X5RSU,21570
|
|
37
37
|
simo/core/permissions.py,sha256=v0iJM4LOeYoEfMiw3OLPYio272G1aUEAg_z9Wd1q5m0,2993
|
|
38
38
|
simo/core/routing.py,sha256=X1_IHxyA-_Q7hw1udDoviVP4_FSBDl8GYETTC2zWTbY,499
|
|
39
|
-
simo/core/serializers.py,sha256=
|
|
39
|
+
simo/core/serializers.py,sha256=quXznnTKCm57rvRgke0mBnlWmaO8C5scJ8R251wa1jY,20869
|
|
40
40
|
simo/core/signal_receivers.py,sha256=9-qFCCeSLcMFEMg6QUtKOVgUsoNoqhzGoI98nuNSTEo,6228
|
|
41
41
|
simo/core/socket_consumers.py,sha256=n7VE2Fvqt4iEAYLTRbTPOcI-7tszMAADu7gimBxB-Fg,9635
|
|
42
42
|
simo/core/storage.py,sha256=_5igjaoWZAiExGWFEJMElxUw55DzJG1jqFty33xe8BE,342
|
|
@@ -69,7 +69,7 @@ simo/core/__pycache__/middleware.cpython-38.pyc,sha256=UZTX3tUUHkigr_3GiSLbUX3Rb
|
|
|
69
69
|
simo/core/__pycache__/models.cpython-38.pyc,sha256=rKg-_vQ-3L3_NKbCd0HIij7Nyev1t7SOz32-6PS4Rds,17907
|
|
70
70
|
simo/core/__pycache__/permissions.cpython-38.pyc,sha256=fH4iyqd9DdzRLEu2b621-FeM-napR0M7hzBUTHo9Q3g,2972
|
|
71
71
|
simo/core/__pycache__/routing.cpython-38.pyc,sha256=3T3FPJ8Cn99xZCGvMyg2xjl7al-Shm9CelbSpkJtNP8,599
|
|
72
|
-
simo/core/__pycache__/serializers.cpython-38.pyc,sha256=
|
|
72
|
+
simo/core/__pycache__/serializers.cpython-38.pyc,sha256=g2xW2Epw2ne2qUS41Dsrvr9Ih56v5Ba0VfmetJJRlXk,19495
|
|
73
73
|
simo/core/__pycache__/signal_receivers.cpython-38.pyc,sha256=3Bt9S47DR_ZFS3O-crElFgLLXPIYyDgPIc2ibwEkaic,4904
|
|
74
74
|
simo/core/__pycache__/socket_consumers.cpython-38.pyc,sha256=NJUr7nRyHFvmAumxxWpsod5wzVVZM99rCEuJs1utHA4,8432
|
|
75
75
|
simo/core/__pycache__/storage.cpython-38.pyc,sha256=9R1Xu0FJDflfRXUPsqEgt0SpwiP7FGk7HaR8s8XRyI8,721
|
|
@@ -10192,7 +10192,7 @@ simo/fleet/auto_urls.py,sha256=UX66eR2ykMqFgfIllW-RTdjup5-FieCWl_BVm3CcXKg,702
|
|
|
10192
10192
|
simo/fleet/base_types.py,sha256=wL9RVkHr0gA7HI1wZq0pruGEIgvQqpfnCL4cC3ywsvw,102
|
|
10193
10193
|
simo/fleet/ble.py,sha256=eHA_9ABjbmH1vUVCv9hiPXQL2GZZSEVwfO0xyI1S0nI,1081
|
|
10194
10194
|
simo/fleet/controllers.py,sha256=mASn88pUAFnkmd0UreXh2M0amZpjbv3xMghfTC8OB94,29744
|
|
10195
|
-
simo/fleet/forms.py,sha256=
|
|
10195
|
+
simo/fleet/forms.py,sha256=InJxna8UDyPIZTjRFovm78RHaLdw1Pq0f-y7J81f_ZE,57232
|
|
10196
10196
|
simo/fleet/gateways.py,sha256=lKEJW0MgaOEiNnijH50DNSVChvaUT3TA3UurcI57P8k,5677
|
|
10197
10197
|
simo/fleet/managers.py,sha256=XOpDOA9L-f_550TNSyXnJbun2EmtGz1TenVTMlUSb8E,807
|
|
10198
10198
|
simo/fleet/models.py,sha256=t_oi6EYSkg8Y5p3trJPv4MqW6AyUcylge9Bfw83mWCg,16462
|
|
@@ -10338,7 +10338,7 @@ simo/generic/templates/admin/controller_widgets/gate.html,sha256=rqtgEQTmyK8Q66o
|
|
|
10338
10338
|
simo/generic/templates/admin/controller_widgets/ip_camera.html,sha256=ZmWm21EswkgT6XR9x1GgzDIkSU2j_GpdOTfbPINg6jY,657
|
|
10339
10339
|
simo/generic/templates/admin/controller_widgets/script.html,sha256=biUEMo5V35wqSrM97d5WqNDi47GNaDpi53I3YBfDLOs,1484
|
|
10340
10340
|
simo/generic/templates/admin/controller_widgets/thermostat.html,sha256=iH7j631AY6ahsI7dTMyMYHL_EuX6Q_aRxQgQcPIVxvI,288
|
|
10341
|
-
simo/generic/templates/admin/controller_widgets/weather_forecast.html,sha256=
|
|
10341
|
+
simo/generic/templates/admin/controller_widgets/weather_forecast.html,sha256=UuvXM6XONknAHxn3DF0CP8aGrrfng92n0iTgXkHg7QI,500
|
|
10342
10342
|
simo/generic/templates/generic/controllers_info/dummy.md,sha256=DcdkpYXpK7sroINukZZPUQs9uekN9kkE7p5hfnArgFo,147
|
|
10343
10343
|
simo/generic/templates/generic/controllers_info/stateselect.md,sha256=T0w3vJg02W3RMSsljN1EPRnkVaeRW5acSZaSq9FYvZw,135
|
|
10344
10344
|
simo/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -10347,6 +10347,7 @@ simo/management/copy_template.py,sha256=Iehq57FYMzdHNp3LU4ue6rr6AkRiGeOthG7PoGWd
|
|
|
10347
10347
|
simo/management/install.py,sha256=hy2LB0sPNpaFHv2Wvp6CeiItvKJb3sFVU0lJuz02VDM,10127
|
|
10348
10348
|
simo/management/on_http_start.py,sha256=ZDotfMQaCjksD5FFf3eZYgJS-gd_-7eZhYTHLaD-448,3312
|
|
10349
10349
|
simo/management/__pycache__/__init__.cpython-38.pyc,sha256=ey9k5mPsmvAHRVf5Du6QUqy40LgBCAPN_B5EaR6h9Eg,164
|
|
10350
|
+
simo/management/__pycache__/auto_update.cpython-38.pyc,sha256=OAp7w4PdXY0xeo7Yof7O_x9y7qNMyZV4ZerRlswjQ2I,1681
|
|
10350
10351
|
simo/management/__pycache__/on_http_start.cpython-38.pyc,sha256=ERfcMNz3QnqDJTJ4PwbmDfLgPCh5hrEcaedejARFkUQ,2864
|
|
10351
10352
|
simo/management/_hub_template/hub/asgi.py,sha256=ElN_fdeSkf0Ysa7pS9rJVmZ1HmLhFxb8jFaMLqe1220,126
|
|
10352
10353
|
simo/management/_hub_template/hub/celeryc.py,sha256=3ksDXftIZKJ4Cq9WNKJERdZdQlDEnjTQXycweRFmsSQ,27
|
|
@@ -10410,7 +10411,7 @@ simo/users/auto_urls.py,sha256=lcJvteBsbHQMJieZpDz-63tDYejLApqsW3CUnDakd7k,272
|
|
|
10410
10411
|
simo/users/dynamic_settings.py,sha256=sEIsi4yJw3kH46Jq_aOkSuK7QTfQACGUE-lkyBogCaM,570
|
|
10411
10412
|
simo/users/managers.py,sha256=M_51bk9z4jn8e2Ci3pJfIqbf6cRNqfQNSOAg0vPl6Vo,175
|
|
10412
10413
|
simo/users/middleware.py,sha256=GMCrnWSc_2qCleyQIkfQGdL-pU-UTEcSg1wPvIKZ9uk,1210
|
|
10413
|
-
simo/users/models.py,sha256=
|
|
10414
|
+
simo/users/models.py,sha256=F3rkYmofakoVzr7szjr8t8014-bbN_Nkv1TVOVKoIF8,19761
|
|
10414
10415
|
simo/users/permissions.py,sha256=IwtYS8yQdupWbYKR9VimSRDV3qCJ2jXP57Lyjpb2EQM,242
|
|
10415
10416
|
simo/users/serializers.py,sha256=a4R408ZgWVbF7OFw4bBfN33Wnn8ljqS8iFcsqmllkWU,2552
|
|
10416
10417
|
simo/users/sso_urls.py,sha256=gQOaPvGMYFD0NCVSwyoWO-mTEHe5j9sbzV_RK7kdvp0,251
|
|
@@ -10427,7 +10428,7 @@ simo/users/__pycache__/auto_urls.cpython-38.pyc,sha256=K-3sz2h-cEitoflSmZk1t0eUg
|
|
|
10427
10428
|
simo/users/__pycache__/dynamic_settings.cpython-38.pyc,sha256=6F8JBjZkHykySnmZjNEzjS0ijbmPdcp9yUAZ5kqq_Fo,864
|
|
10428
10429
|
simo/users/__pycache__/managers.cpython-38.pyc,sha256=C5-diljm874RAFMTkZdcfzPhkHzlUGPAhz2gTvqkDy8,604
|
|
10429
10430
|
simo/users/__pycache__/middleware.cpython-38.pyc,sha256=Tj4nVEAvxEW3xA63fBRiJWRJpz_M848ZOqbHioc_IPE,1149
|
|
10430
|
-
simo/users/__pycache__/models.cpython-38.pyc,sha256=
|
|
10431
|
+
simo/users/__pycache__/models.cpython-38.pyc,sha256=_EIJC_Q1XeqxI7yKr6dOw6tv6o_GkA3TaFZ9YH5de1g,18193
|
|
10431
10432
|
simo/users/__pycache__/permissions.cpython-38.pyc,sha256=ez5NxoL_JUeeH6GsKhvFreuA3FCBgGf9floSypdXUtM,633
|
|
10432
10433
|
simo/users/__pycache__/serializers.cpython-38.pyc,sha256=PuMy6H0PhEhq89RFmdnFH4pMHB0N3w7opJEFS90JUCY,3477
|
|
10433
10434
|
simo/users/__pycache__/sso_urls.cpython-38.pyc,sha256=uAwDozpOmrhUald-8tOHANILXkH7-TI8fNYXOtPkSY8,402
|
|
@@ -10505,9 +10506,9 @@ simo/users/templates/invitations/expired_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
10505
10506
|
simo/users/templates/invitations/expired_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10506
10507
|
simo/users/templates/invitations/taken_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10507
10508
|
simo/users/templates/invitations/taken_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10508
|
-
simo-2.2.
|
|
10509
|
-
simo-2.2.
|
|
10510
|
-
simo-2.2.
|
|
10511
|
-
simo-2.2.
|
|
10512
|
-
simo-2.2.
|
|
10513
|
-
simo-2.2.
|
|
10509
|
+
simo-2.2.6.dist-info/LICENSE.md,sha256=M7wm1EmMGDtwPRdg7kW4d00h1uAXjKOT3HFScYQMeiE,34916
|
|
10510
|
+
simo-2.2.6.dist-info/METADATA,sha256=H-Fulbvug2vfFS542OGZVoM4qYioHLFunTM-Oz32k70,1847
|
|
10511
|
+
simo-2.2.6.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
|
10512
|
+
simo-2.2.6.dist-info/entry_points.txt,sha256=SJBxiDpH7noO0STxVI_eRIsGR-nLgdXXeqCDe8cXlbM,65
|
|
10513
|
+
simo-2.2.6.dist-info/top_level.txt,sha256=GmS1hrAbpVqn9OWZh6UX82eIOdRLgYA82RG9fe8v4Rs,5
|
|
10514
|
+
simo-2.2.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|