power: Add 'locked_while_printing' to device list
Signed-off-by: Jordan Ruthe <jordan.ruthe@gmail.com>
This commit is contained in:
parent
b4602115d7
commit
00db209d5d
|
@ -178,7 +178,8 @@ class PowerDevice:
|
||||||
def get_device_info(self):
|
def get_device_info(self):
|
||||||
return {
|
return {
|
||||||
'device': self.name,
|
'device': self.name,
|
||||||
'status': self.state
|
'status': self.state,
|
||||||
|
'locked_while_printing': self.locked_while_printing
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_locked_while_printing(self):
|
def get_locked_while_printing(self):
|
||||||
|
|
Loading…
Reference in New Issue