The upstream pyHS100 library that this component depends on added a discovery capability about a month ago… Would be awesome of the switch/tplink component implemented it removing the requirement to specify host addresses in the configuration for each TPLink plug.
Example of TPLink switch discovery using pyHS100: https://github.com/GadgetReactor/pyHS100/blob/master/examples/discover.py