aboutsummaryrefslogtreecommitdiffstats
path: root/src/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/dashboard')
-rw-r--r--src/dashboard/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dashboard/tasks.py b/src/dashboard/tasks.py
index 597629f..71afed2 100644
--- a/src/dashboard/tasks.py
+++ b/src/dashboard/tasks.py
@@ -23,7 +23,7 @@ def booking_poll():
for hostrelation in qs:
config = hostrelation.config
config.clear_delta()
- config.set_power("off")
+ config.power = "off"
config.save()
hostrelation.status = JobStatus.NEW
hostrelation.save()