The following command(s) only turns on or off the first outlet. It does not turn on/off the entire Power Strip.
kasa --type strip --host XXX.XXX.XXX.XXX on
kasa --type strip --host XXX.XXX.XXX.XXX off
Command-Line Docs.:
To command a single socket of a strip, you will need to specify it either by using --index or by using --name. If not specified, the commands will act on the parent device: turning the strip off will turn off all sockets.
There hasn't been any activity on this issue recently. This issue has been automatically marked as stale because of that. It will be closed if no further activity occurs.
Please make sure to update to the latest python-kasa version and check if that solves the issue.
Thank you for your contributions.
This (or similar) issue affects also tapo devices. We should probably make this consistent across all devices, for power strips this means that they should always have a feature that allows turning all child sockets on/off. This will cause several requests to the device, but we can do that by creating tasks in a task group and awaiting it.
Activity
github-actions commented on Sep 28, 2024
There hasn't been any activity on this issue recently. This issue has been automatically marked as stale because of that. It will be closed if no further activity occurs.
Please make sure to update to the latest python-kasa version and check if that solves the issue.
Thank you for your contributions.
rytilahti commented on Dec 8, 2024
This (or similar) issue affects also tapo devices. We should probably make this consistent across all devices, for power strips this means that they should always have a feature that allows turning all child sockets on/off. This will cause several requests to the device, but we can do that by creating tasks in a task group and awaiting it.
sdb9696 commented on Dec 20, 2024
#639 updated and commented on.
Prepare 0.10.0 (#1473)
Prepare 0.10.0 (python-kasa#1473)
Prepare 0.10.0 (python-kasa#1473)
Prepare 0.10.0 (python-kasa#1473)
Prepare 0.10.0 (python-kasa#1473)
Prepare 0.10.0 (python-kasa#1473)