Skip to content
Snippets Groups Projects
Commit b070b2e0 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Add reset-method to Kramer

parent 9c4eb145
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,9 @@ class KramerVs411X(mediactl.WithLogger):
def get_status(self) -> dict:
return self.status
def reset(self):
self.status = {"active-input" : None }
def switch(self, pin) -> Result[None, str]:
if pin < 1 or pin > len(self.pins):
return Err(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment