Fix documentation on Smart strips (#136)

Trivial Fix

Fix documentation and the corresponding command when
turning on/off example.
This commit is contained in:
Flaviof 2021-02-15 11:59:17 -05:00 committed by GitHub
parent 8a5c5507c8
commit 87730e6c4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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::