Prefix on prints

This commit is contained in:
2022-06-05 16:00:19 +02:00
parent 5405db9e7e
commit 35dde0d9bc
3 changed files with 8 additions and 3 deletions

View File

@@ -11,6 +11,8 @@ class ProjectorSerial(SerialDevice):
super().__init__(serial_port, baudrate, verbose)
self.prefix = "Projector"
def send_command(self, command: str, device_id: str = "ZZ") -> str:
assert device_id in ["01", "02", "03", "04", "05", "06", "ZZ"]