power: Add 'locked_while_printing' to device list

Signed-off-by: Jordan Ruthe <jordan.ruthe@gmail.com>
This commit is contained in:
Jordan Ruthe 2021-01-21 20:43:34 -05:00 committed by Eric Callahan
parent b4602115d7
commit 00db209d5d
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,8 @@ class PowerDevice:
def get_device_info(self):
return {
'device': self.name,
'status': self.state
'status': self.state,
'locked_while_printing': self.locked_while_printing
}
def get_locked_while_printing(self):