We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8dd76c commit be32b32Copy full SHA for be32b32
plugwise_usb/__init__.py
@@ -210,6 +210,14 @@ async def set_accept_join_request(self, state: bool) -> bool:
210
raise NodeError(f"Failed setting accept joining: {exc}") from exc
211
return True
212
213
+ async def set_measure_interval(self, cons: int, prod: int) -> bool:
214
+ """Configure the measurement interval settings."""
215
+ try:
216
+ await self._network.set_measure_interval(cons, prod)
217
+ except NodeError as exc:
218
+ raise NodeError(f"{exc}")
219
+ return True
220
+
221
async def clear_cache(self) -> None:
222
"""Clear current cache."""
223
if self._network is not None:
0 commit comments