Tp-link switches in 0.61.1

I skipped 61.0 as I have broadlink stuff and read all the reports of the borkage, and went straight to 61.1 from 60.1

I know the tp-link platform was updated, but the breaking changes only mention a change of name for attributes.

I only have one TP-link device, and in the Kasa app I’ve named it ‘Heater’. Previously HA recognised this as switch.heater .

Since upgrade it is now just switch.tplink_switch , and does not appear to be fetching the name from the device like it used to.

I would kind of get it if it was just a namespace thing ( switch.tplink_heater ) but if I add several new switches it’s going to be a pain remembering which one is _1 , _2 , _3 etc.

Before I submit a bug report, is anybody else seeing this behaviour?

[EDIT] - Python is a mystery to me (I know, I really should learn!!) so I can’t look in the component and work out whether this should be working, or has been removed, and if it has been removed whether it was for a reason etc, so if anyone has a clue, that would be handy too.

They’re working the same way they always have for me, but I named the switches in the config.

switch:
  - platform: tplink
    host: IP_ADDRESS
    name: Garage Door

The entity still shows up for me as:
switch.garage_door

1 Like

Can confirm the same issue here.

Whatever name I gave the switch in the TP Link Kasa app was previously picked up by HA, now a generic name of switch.tplink_switch shows.

1 Like

Thanks guys.

I’ll use the naming in ha convention as a workaround and I’ll file a bug report this evening :+1:

1 Like

Thanks for your help - I had the same issue since updating to 0.61.1 - generic names displayed such as switch.tplink_switch, switch.tplink_switch_1 etc which changed each time HA discovered the switches again on boot. Originally pulled through from the Kasa app but no longer the case which meant all my switches disappeared from HA.
Cheers for the workaround image

This should be fixed in 0.62 when it is released FYI, they were really quick addressing the bug report.

2 Likes