# TP-Link smart plug 'things' issue

**URL:** <https://community.openhab.org/t/tp-link-smart-plug-things-issue/66101>\
**Category:** Items & Sitemaps\
**Tags:** smartplug, tp-link\
**Created:** [January 30, 2019, 2:37pm UTC](https://community.openhab.org/t/tp-link-smart-plug-things-issue/66101 "2019-01-30T14:37:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BWhousehold](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eb9ed0/32.png) [@BWhousehold](https://community.openhab.org/u/BWhousehold)\
**Post date:** [January 30, 2019, 2:37pm UTC](https://community.openhab.org/t/tp-link-smart-plug-things-issue/66101/1 "2019-01-30T14:37:06Z")

</div>

- Platform information:Openhabian
  - openHAB version: 2.4

Fairly new to this, and am trying to confiure my things and site map files based on the initial demo ones that are created.

for the life of me i can’t figure out what i am doing wrong with these switches, the site map only shows the last ‘thing’ in the the file, as i add a switch the previous one disappears from the site map.

Am i calling the operation wrong?

 ![Item](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/5/6/568046d53607772220b10c357bc6cd3a465a7d25.png)

---

<div class="post-metadata">

**Author:** ![BWhousehold](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eb9ed0/32.png) [@BWhousehold](https://community.openhab.org/u/BWhousehold)\
**Post date:** [January 30, 2019, 2:51pm UTC](https://community.openhab.org/t/tp-link-smart-plug-things-issue/66101/2 "2019-01-30T14:51:07Z")

</div>

![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/3/b333768311c3627978bd8f3906448688f7f001e7.png)

---

<div class="post-metadata">

**Author:** ![BWhousehold](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eb9ed0/32.png) [@BWhousehold](https://community.openhab.org/u/BWhousehold)\
**Post date:** [January 30, 2019, 3:50pm UTC](https://community.openhab.org/t/tp-link-smart-plug-things-issue/66101/3 "2019-01-30T15:50:25Z")

</div>

![kasaswitches](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/7/9/7933e6fea15863ba7d4a748c30db037de2fe3af3.png)

---

<div class="post-metadata">

**Author:** ![hilbrand](https://community.openhab.org/user_avatar/community.openhab.org/hilbrand/32/72354_2.png) [@hilbrand](https://community.openhab.org/u/hilbrand)\
**Post date:** [January 30, 2019, 3:55pm UTC](https://community.openhab.org/t/tp-link-smart-plug-things-issue/66101/4 "2019-01-30T15:55:26Z")

</div>

`home` and `TP_L_switch` are example keys and must be unique for each item and thing. In the documentation this is explained in more detail:

> **[Items](https://www.openhab.org/docs/configuration/items.html)**
>
> a vendor and technology agnostic open source automation software for your home
