summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/inverter_bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inverter_bot.py b/src/inverter_bot.py
index af60ba7..3e281d3 100755
--- a/src/inverter_bot.py
+++ b/src/inverter_bot.py
@@ -293,7 +293,7 @@ def setacmode(mode: ACMode):
def setosp(sp: OutputSourcePriority):
logger.debug(f'setosp: sp={sp}')
- inverter.exec('set-output-source-priority', (sp,))
+ inverter.exec('set-output-source-priority', (sp.value,))
# /setacmode