mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-26 16:46:23 +00:00
Fix documentation on Smart strips (#136)
Trivial Fix Fix documentation and the corresponding command when turning on/off example.
This commit is contained in:
parent
8a5c5507c8
commit
87730e6c4e
@ -16,13 +16,13 @@ Command-line usage
|
|||||||
To command a single socket of a strip, you will need to specify it either by using ``--index`` or by using ``--name``.
|
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.
|
If not specified, the commands will act on the parent device: turning the strip off will turn off all sockets.
|
||||||
|
|
||||||
**Example:** Turn off the first socket (the indexing starts from zero):
|
**Example:** Turn on the first socket (the indexing starts from zero):
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
$ kasa --strip --host <host> on --index 0
|
$ kasa --strip --host <host> on --index 0
|
||||||
|
|
||||||
**Example:** Turn on the socket by name:
|
**Example:** Turn off the socket by name:
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user