TP Link Smart Plug HS110(UK) Platform Not Found

Hello,

I am new to Hass.io and I am having trouble configuring my tp-link smart plugs HS110(UK).

I’ve added the following to the configuration file:
switch:

  • platform: tplink
    name:“Lamp1”
    host:192.168.1.252

Configurator says its ok so I save, I then validate the configuration file but I get an error:
Configuration invalid
Platform not found: switch.tplink name:“Lamp1” host:192.168.1.252

in the logs its says:
Unable to find component switch.tplink name:"Lamp1" host:192.168.1.252

Any ideas?
Cheers
Darren

Mine is formatted as follows and works fine for me. I don’t have quotes around the name if that makes a difference.

switch:
  - platform: tplink
    host: 192.168.0.12
    name: Kettle

Hope that works for you.

Check your spacing before the IP address and the name.

Hi,

Thanks for the tips. I think the issue was Configurator and the formatting at was using.
I made the changes in Notepad++ and everything then worked.

I’ve now setup my switches to turn on at sunset and it’s working fine.

Cheers
Darren