From 00db209d5d3a347fda31f2cc6379332c8f23fb83 Mon Sep 17 00:00:00 2001 From: Jordan Ruthe Date: Thu, 21 Jan 2021 20:43:34 -0500 Subject: [PATCH] power: Add 'locked_while_printing' to device list Signed-off-by: Jordan Ruthe --- moonraker/plugins/power.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moonraker/plugins/power.py b/moonraker/plugins/power.py index f622cb1..daa23d5 100644 --- a/moonraker/plugins/power.py +++ b/moonraker/plugins/power.py @@ -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):