simo 2.2.5__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-2.2.5.dist-info → simo-2.2.6.dist-info}/METADATA +1 -1
- {simo-2.2.5.dist-info → simo-2.2.6.dist-info}/RECORD +10 -10
- {simo-2.2.5.dist-info → simo-2.2.6.dist-info}/WHEEL +1 -1
- {simo-2.2.5.dist-info → simo-2.2.6.dist-info}/LICENSE.md +0 -0
- {simo-2.2.5.dist-info → simo-2.2.6.dist-info}/entry_points.txt +0 -0
- {simo-2.2.5.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>
|
|
@@ -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
|
|
@@ -10506,9 +10506,9 @@ simo/users/templates/invitations/expired_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
10506
10506
|
simo/users/templates/invitations/expired_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10507
10507
|
simo/users/templates/invitations/taken_msg.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10508
10508
|
simo/users/templates/invitations/taken_suggestion.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10509
|
-
simo-2.2.
|
|
10510
|
-
simo-2.2.
|
|
10511
|
-
simo-2.2.
|
|
10512
|
-
simo-2.2.
|
|
10513
|
-
simo-2.2.
|
|
10514
|
-
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
|