How to make a TP-Link Kasa outlet show up properly?

Howdy,

I’ve recently installed an in-wall Kasa KP200 receptacle – a two outlet device. When added to the configuration.yaml, upon restart Home Assistant finds it, but doesn’t seem to handle the outlet entities properly.

Here’s the configuration.yaml entry for the receptacle:

tplink:
  discovery: false
  strip:
    - host: 192.168.4.10

This is how the entities show up in Home Assistant:


The bottom outlet appears twice:

  • the top line with ID “switch.unnamed_device” is functional, but is Read-only, so the description can’t be changed (and I do want to change it); this entry does not appear in core.entity_registry
  • the second line with ID “switch.family_room_left_bottom” appears to be the properly recognized entity, but is disabled and non-functional; this entry does appear in core.entity_registry (And what does the red “Restored” symbol mean?)
  • the third line “switch.family_room_left_top” is also disabled and non-functional.

How can I fix these to have two fully functional outlets?

Not sure it matters, but my devices all reside on a separate subnet from Home Assistant, so I don’t believe they’re discoverable, and need to be added to configuration.yaml manually.

Thanks.