Skip to content

Commit dc97529

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 <tgamblin@baylibre.com>
1 parent 9743ed8 commit dc97529

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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>`_.
@@ -267,7 +267,7 @@ Currently available are:
267267
See the `documentation <https://docs.tinycontrol.pl/en/tcpdu/api/commands/>`__
268268

269269
``tplink``
270-
Controls *TP-Link power strips* via `python-kasa
270+
Controls *TP-Link smart plugs and power strips* via `python-kasa
271271
<https://github.com/python-kasa/python-kasa>`_.
272272

273273
``ubus``

0 commit comments

Comments
 (0)