Exemplo n.º 1
0
 def send_command(
     self,
     command: str,
     params: dict[str, Any] | list[Any] | None = None,
     **kwargs: Any,
 ) -> None:
     """Send a command to a vacuum cleaner."""
     self.device.run(sucks.VacBotCommand(command, params))
Exemplo n.º 2
0
 def send_command(self, command, params=None, **kwargs):
     """Send a command to a vacuum cleaner."""
     self.device.run(sucks.VacBotCommand(command, params))