pywemo 1.3.0__py3-none-any.whl → 1.3.1__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 pywemo might be problematic. Click here for more details.
- pywemo/ouimeaux_device/api/xsd/device.py +1 -1
- pywemo/ouimeaux_device/api/xsd/service.py +1 -1
- pywemo/ouimeaux_device/dimmer.py +4 -0
- {pywemo-1.3.0.dist-info → pywemo-1.3.1.dist-info}/METADATA +1 -1
- {pywemo-1.3.0.dist-info → pywemo-1.3.1.dist-info}/RECORD +7 -7
- {pywemo-1.3.0.dist-info → pywemo-1.3.1.dist-info}/LICENSE +0 -0
- {pywemo-1.3.0.dist-info → pywemo-1.3.1.dist-info}/WHEEL +0 -0
pywemo/ouimeaux_device/dimmer.py
CHANGED
|
@@ -38,6 +38,10 @@ class Dimmer(Switch):
|
|
|
38
38
|
|
|
39
39
|
def get_state(self, force_update: bool = False) -> int:
|
|
40
40
|
"""Update the state & brightness for the Dimmer."""
|
|
41
|
+
force_update = force_update or (
|
|
42
|
+
self._brightness is None
|
|
43
|
+
and "brightness" not in self.basic_state_params
|
|
44
|
+
)
|
|
41
45
|
state = super().get_state(force_update)
|
|
42
46
|
if force_update or self._brightness is None:
|
|
43
47
|
try:
|
|
@@ -14,15 +14,15 @@ pywemo/ouimeaux_device/api/service.py,sha256=qeNThZXVPEuRIM9Xou8aVk34Up8F1ei1O6E
|
|
|
14
14
|
pywemo/ouimeaux_device/api/wemo_services.py,sha256=z5wbX10ok2ltdpucJr0H6Cy9CoIoCb3vfbkeMdWt8qc,912
|
|
15
15
|
pywemo/ouimeaux_device/api/wemo_services.pyi,sha256=Amybn9pfO-EJUge6gYPeADw-_iQYmqfP_fSB1mlkpQk,6838
|
|
16
16
|
pywemo/ouimeaux_device/api/xsd/__init__.py,sha256=xv1RKXPNighlx3L88tkedXQfSDYI5ifA8zPmSiXdiyY,60
|
|
17
|
-
pywemo/ouimeaux_device/api/xsd/device.py,sha256=
|
|
17
|
+
pywemo/ouimeaux_device/api/xsd/device.py,sha256=CFxdcT6s9yVECitIM2AI-63XaUqbc2zx3XF1a1iXjBQ,126897
|
|
18
18
|
pywemo/ouimeaux_device/api/xsd/device.xsd,sha256=D4yqFUD-kDXUXWz3Y2No_XTiNRY2TbxecjV5wEbh5Gw,4305
|
|
19
|
-
pywemo/ouimeaux_device/api/xsd/service.py,sha256=
|
|
19
|
+
pywemo/ouimeaux_device/api/xsd/service.py,sha256=OE_VA1zAp8boxGQ-9qa9JyMPC3Lw6tq2AGb01alDMis,122589
|
|
20
20
|
pywemo/ouimeaux_device/api/xsd/service.xsd,sha256=Hqzc1ovP7q8SbW-IDN7ZaLQCN_vP50Qrqx7PDAbDAyQ,3526
|
|
21
21
|
pywemo/ouimeaux_device/api/xsd_types.py,sha256=pUzyktm26SK6nnwAJYVINkYx4tLFE0MDK4lOaLIOZ5A,7275
|
|
22
22
|
pywemo/ouimeaux_device/bridge.py,sha256=yI_JCCqyO6Ye_Ol3wDtBuvVUuX82V4c1StnFEsqzMd8,18975
|
|
23
23
|
pywemo/ouimeaux_device/coffeemaker.py,sha256=B80yKYZCJKr9tC-Zf7Bc4YlHYj74jAq2GLANsL_TqQo,3345
|
|
24
24
|
pywemo/ouimeaux_device/crockpot.py,sha256=PXPvFRfwNXyvkhkQJl3Hcdf1VEpazJ2DGOrfa5WGKpQ,5035
|
|
25
|
-
pywemo/ouimeaux_device/dimmer.py,sha256=
|
|
25
|
+
pywemo/ouimeaux_device/dimmer.py,sha256=k_GJIcMygOZ2VjzSlJslYh3T0X3BxyakcyNecvi4gA8,2398
|
|
26
26
|
pywemo/ouimeaux_device/humidifier.py,sha256=dnqwTOlWun1crsBR8E5H-oMF0851qz2K_o3cH6qVDhs,7162
|
|
27
27
|
pywemo/ouimeaux_device/insight.py,sha256=EVcFWZN2UVNj4vA4xrDk7FdbVvnELSdKg9OJ200BT4w,6125
|
|
28
28
|
pywemo/ouimeaux_device/lightswitch.py,sha256=_lbaLmxPIKhWLmjEhZ6NBSzFHDvg9sW0Z3Dn4PiO5mw,328
|
|
@@ -34,7 +34,7 @@ pywemo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
34
34
|
pywemo/ssdp.py,sha256=koDFc8INDuWzPNWftnfCOpSUz4t3Q9giB6GeSbMOZVw,12531
|
|
35
35
|
pywemo/subscribe.py,sha256=j_zbbgnWZZRPSE5fmpsX1sIPGbCxzGQmNIiI1GZ_dvA,29780
|
|
36
36
|
pywemo/util.py,sha256=LHOD-MSIkl78jElP5uFnZVJ9dBovhYQ_2Gx2JRlbgxs,4417
|
|
37
|
-
pywemo-1.3.
|
|
38
|
-
pywemo-1.3.
|
|
39
|
-
pywemo-1.3.
|
|
40
|
-
pywemo-1.3.
|
|
37
|
+
pywemo-1.3.1.dist-info/LICENSE,sha256=uEhWS0rrkJ-nVSDY4avaxJrszZOBwR_hIOiBVkd4Sk8,2831
|
|
38
|
+
pywemo-1.3.1.dist-info/METADATA,sha256=YpeYKC4GnPfxuERaj4FclOLWzI9X1e3yTHE_WpYbuoI,9084
|
|
39
|
+
pywemo-1.3.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
40
|
+
pywemo-1.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|