Disable TP-Link LEDs with the new configuration

Today after upgrading to 0.89.0, all my TP-link switches went offline. Turns out the old “platform: tplink” is defunct and they now have to be configured like so:

tplink:
    discovery: false
    switch:
        - host: XX.XX.XX.XX
        - host: XX.XX.XX.XY

… but I liked turning off all my switch LEDs in the old config method. Nothing in the tplink component documentation about this. Anyone know if it can be done now?

This option was dropped to keep the code simpler, but you can configure them with the console tool pyhs100:

pyhs100 led 0

to turn them off and

pyhs100 led 1

to turn them on.

1 Like