diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/inverter_bot.py | 2 |
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 |