diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-10-21 01:14:48 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-10-21 01:14:48 +0300 |
commit | 34ad131e4bb60f4a0a993847e7d2d90413563bac (patch) | |
tree | ab098bd4bbb257bffd9f8e42c922ccfe22cf18d5 | |
parent | b5b35fd30d79a032292c757f4ecbff37561bcbca (diff) |
fix setosp
-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 |