This commit is contained in:
2022-06-05 15:56:40 +02:00
parent 8e53b4346b
commit 5405db9e7e
4 changed files with 9 additions and 12 deletions

View File

@@ -36,8 +36,8 @@ class ExtronSerial(SerialDevice):
baudrate = 9600
super().__init__(serial_port, baudrate, verbose)
def send_command(self, command: str, verbose: bool = False) -> str:
response = super().send_command(command, verbose)
def send_command(self, command: str) -> str:
response = super().send_command(command)
if response[0] == "E":
print(response, self.ERRORS.get(response, "Unknown"))