Skip to content

Commit c82e3d3

Browse files
committed
doc/configuration: update NetworkPowerPort
- Document that 'index' is now optional - Change 'tplink' section to indicate it controls both smart plugs and power strips Signed-off-by: Trevor Gamblin <[email protected]>
1 parent 78964f4 commit c82e3d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ The example describes port 0 on the remote power switch
146146
Arguments:
147147
- model (str): model of the power switch
148148
- host (str): hostname of the power switch
149-
- index (int): number of the port to switch
149+
- index (int, default=0): optional, number of the port to switch
150150

151151
The ``model`` property selects one of several `backend implementations
152152
<https://github.com/labgrid-project/labgrid/tree/master/labgrid/driver/power>`_.
@@ -259,7 +259,7 @@ Currently available are:
259259
See the `documentation <https://docs.tinycontrol.pl/en/tcpdu/api/commands/>`__
260260

261261
``tplink``
262-
Controls *TP-Link power strips* via `python-kasa
262+
Controls *TP-Link smart plugs and power strips* via `python-kasa
263263
<https://github.com/python-kasa/python-kasa>`_.
264264

265265
``ubus``

0 commit comments

Comments
 (0)