tinkerforge-async 1.5.1__py3-none-any.whl → 1.5.2__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.
@@ -1,2 +1,2 @@
1
1
  # pylint: disable=missing-module-docstring
2
- __version__ = "1.5.1"
2
+ __version__ = "1.5.2"
@@ -198,8 +198,8 @@ class BrickletThermocoupleV2(BrickletWithMCU):
198
198
  await self.set_temperature_callback_configuration(
199
199
  period, value_has_to_change, option, minimum, maximum, response_expected
200
200
  )
201
-
202
- raise ValueError(f"Invalid sid: {sid}. sid must be in (0, ).")
201
+ else:
202
+ raise ValueError(f"Invalid sid: {sid}. sid must be in (0, ).")
203
203
 
204
204
  async def get_callback_configuration(self, sid: int) -> AdvancedCallbackConfiguration:
205
205
  if sid == 0:
@@ -297,9 +297,9 @@ class BrickletThermocoupleV2(BrickletWithMCU):
297
297
 
298
298
  async def set_configuration(
299
299
  self,
300
- averaging: _Averaging,
301
- sensor_type: _SensorType,
302
- line_filter: _LineFilter,
300
+ averaging: _Averaging = Averaging.AVERAGING_16,
301
+ sensor_type: _SensorType = SensorType.TYPE_K,
302
+ line_filter: _LineFilter = LineFilter.FREQUENCY_50HZ,
303
303
  response_expected: bool = True,
304
304
  ) -> None:
305
305
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinkerforge_async
3
- Version: 1.5.1
3
+ Version: 1.5.2
4
4
  Summary: Python3 AsyncIO Tinkerforge driver
5
5
  Author-email: Patrick Baus <patrick.baus@physik.tu-darmstadt.de>
6
6
  License: GNU General Public License v3 (GPLv3)
@@ -1,5 +1,5 @@
1
1
  tinkerforge_async/__init__.py,sha256=wv8UTQrY0vlHwJEO-50PAeUt1cnrAdtSW-2by3CtaaE,376
2
- tinkerforge_async/_version.py,sha256=j810yQNq3Z7Fajr2UL0UmEdJ7yojsN6oH_lSF3m9F8g,65
2
+ tinkerforge_async/_version.py,sha256=UqJ3HNCU2vsgoUrCIWF8t4wsYLyCQGZJ4mOgfolgaoU,65
3
3
  tinkerforge_async/async_event_bus.py,sha256=Ng1bNw4tfPZUSMBudy47rTxLqJF96qpTEJIzh1MCq44,1806
4
4
  tinkerforge_async/brick_master.py,sha256=kZDN_FzuYmGjaZvYFI2ba2Sfv1mwGoFx9ZayH1DJGqI,129607
5
5
  tinkerforge_async/bricklet_ambient_light_v2.py,sha256=6OVxGK8kBU_ZcRXa9iJH_B8GbZ74XGBB5ix7WquS8yw,13402
@@ -23,13 +23,13 @@ tinkerforge_async/bricklet_segment_display_4x7.py,sha256=kl_ctg86w2-uPhEgiraSbtI
23
23
  tinkerforge_async/bricklet_segment_display_4x7_v2.py,sha256=T5g-voFLtLAOyWKn_TNuKDJVaG5vi_7eVCNvkE5ziIs,8902
24
24
  tinkerforge_async/bricklet_temperature.py,sha256=wsaI5vq50d7X_FonRZfxpjtNOVM8tdqA74MPVrts8h4,11341
25
25
  tinkerforge_async/bricklet_temperature_v2.py,sha256=uYSnfW1Hr1WxY5M7kVahtpaQEK5XvdIhM_HhdJdSc-g,9702
26
- tinkerforge_async/bricklet_thermocouple_v2.py,sha256=b-AqlPsxMqxfxGPNE5oP3Ww0h--nzTWhe-n7Qmp2gp4,15155
26
+ tinkerforge_async/bricklet_thermocouple_v2.py,sha256=KoVu6E3ZpXqR2aLMktepZVD86q0CQFYlGxUmBkVZO7o,15245
27
27
  tinkerforge_async/device_factory.py,sha256=UkK8mU-UN3bBPI9Z8kRpbUslxwGbUiGglFnGRyg6c9o,3369
28
28
  tinkerforge_async/devices.py,sha256=XQezaYuiH25MX8rD7sVMdfERYhDlvUg8x1jhj3xNsKI,15634
29
29
  tinkerforge_async/ip_connection.py,sha256=KPAFGTysuCj8uVWMgVUDvP_zPOpjeYOKVb16SDLRcjE,27671
30
30
  tinkerforge_async/ip_connection_helper.py,sha256=kt4JhONMxJdN4upIpVZlqTKmQcSyG2zXkmnCC2QL91Y,4305
31
- tinkerforge_async-1.5.1.dist-info/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
32
- tinkerforge_async-1.5.1.dist-info/METADATA,sha256=bolO8k2cFe00_kmgDqRgvQ247vVl53F6PzRV2quCD6I,16699
33
- tinkerforge_async-1.5.1.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
34
- tinkerforge_async-1.5.1.dist-info/top_level.txt,sha256=YuYlWDVtbFvjqm-GoyH2asasmmn-lH1KeKBBtA17QJ4,18
35
- tinkerforge_async-1.5.1.dist-info/RECORD,,
31
+ tinkerforge_async-1.5.2.dist-info/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
32
+ tinkerforge_async-1.5.2.dist-info/METADATA,sha256=eUWus5K4ai4ueovreuHwyyy4TrTtBrBplXbE22D_C2w,16699
33
+ tinkerforge_async-1.5.2.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
34
+ tinkerforge_async-1.5.2.dist-info/top_level.txt,sha256=YuYlWDVtbFvjqm-GoyH2asasmmn-lH1KeKBBtA17QJ4,18
35
+ tinkerforge_async-1.5.2.dist-info/RECORD,,