Skip to content

Commit

Permalink
Fix documentation on Smart strips (#136)
Browse files Browse the repository at this point in the history
Trivial Fix

Fix documentation and the corresponding command when
turning on/off example.
  • Loading branch information
flavio-fernandes committed Feb 15, 2021
1 parent 8a5c550 commit 87730e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/smartstrip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
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::
$ kasa --strip --host <host> on --index 0
**Example:** Turn on the socket by name:
**Example:** Turn off the socket by name:

.. code::
Expand Down

0 comments on commit 87730e6

Please sign in to comment.