Added method for projector sleep

This commit is contained in:
2023-02-28 21:18:12 +01:00
parent 24ef94cce9
commit 2ece5d2bee
3 changed files with 822 additions and 668 deletions

View File

@@ -25,3 +25,6 @@ class ProjectorSerial(SerialDevice):
def power_off(self) -> None:
self.send_command("POF")
def is_on(self) -> bool:
return self.send_command("QPW") == "001"