We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65a0b6 commit f31e5abCopy full SHA for f31e5ab
cli.py
@@ -390,6 +390,20 @@ async def do_utc_time(self) -> None:
390
time = await self.bridge.utc_time()
391
print(time)
392
393
+ async def do_node_oem_number(self) -> None:
394
+ """Print the node OEM number."""
395
+ number = await self.bridge.node_oem_number()
396
+ print(number)
397
+
398
+ async def do_oem_code(self) -> None:
399
+ """Print the OEM code."""
400
+ number = await self.bridge.oem_code()
401
402
403
+ async def do_set_oem_code(self, number: int) -> None:
404
+ """Set the OEM code."""
405
+ await self.bridge.set_oem_code(int(number))
406
407
async def do_status(self) -> None:
408
"""Print the device status."""
409
res = await self.bridge.fetch_bridge()
0 commit comments