-
-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Description
The CLI parser doesn't accept negative values for temperature_offset correction:
for example:
kasa --host 192.168.1.168 --username xxx --password xxx feature --name zimmer temperature_offset -4
Discovering device 192.168.1.168 for 10 seconds
Usage: kasa feature [OPTIONS] [NAME] [VALUE]
Try 'kasa feature --help' for help.
Error: No such option: -4
while positive values and zero work as expected:
kasa --host 192.168.1.168 --username xxx --password xxx feature --name zimmer temperature_offset 4
Discovering device 192.168.1.168 for 10 seconds
Targeting child device zimmer
Changing temperature_offset from 0 to 4
New state: 4
By trial and error I could figure out this undocumented input sequence as temporary workaround:
kasa --host 192.168.1.168 --username xxx --password xxx feature --name zimmer temperature_offset -- -4
Discovering device 192.168.1.168 for 10 seconds
Targeting child device zimmer
Changing temperature_offset from -3 to -4
New state: -4
Metadata
Metadata
Assignees
Labels
No labels