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.

@@ -6,7 +6,7 @@
6
6
  # pylint: skip-file
7
7
 
8
8
  #
9
- # Generated by generateDS.py version 2.43.1.
9
+ # Generated by generateDS.py version 2.43.2.
10
10
  # Python [sys.version]
11
11
  #
12
12
  # Command line options:
@@ -6,7 +6,7 @@
6
6
  # pylint: skip-file
7
7
 
8
8
  #
9
- # Generated by generateDS.py version 2.43.1.
9
+ # Generated by generateDS.py version 2.43.2.
10
10
  # Python [sys.version]
11
11
  #
12
12
  # Command line options:
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pywemo
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: Lightweight Python module to discover and control WeMo devices
5
5
  Home-page: https://github.com/pywemo/pywemo
6
6
  License: MIT
@@ -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=swTGcPmzqQfyhwDNiWLFh-yNw4PKw0BQURS4Q-03kvY,126897
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=NyU7RXfUmW-XAhjHmVUpwB2Gu9bsg41LdA3J99mCCNw,122589
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=RVAp6G_9K6zyVR_pLtadmoSMCFxI2WK2aME99LEOf7U,2250
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.0.dist-info/LICENSE,sha256=uEhWS0rrkJ-nVSDY4avaxJrszZOBwR_hIOiBVkd4Sk8,2831
38
- pywemo-1.3.0.dist-info/METADATA,sha256=gGP2lPlXl1pLBw_dfv7vi9B7tVkB8EDajvaDNgA8SqM,9084
39
- pywemo-1.3.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
40
- pywemo-1.3.0.dist-info/RECORD,,
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