Help, TP Link integrations failed

I added the integration for TP Link and was able to get 7 of my 11 switched added. I did some research and noticed the missing 4 were all on a different access point. And yes that A.P. is in the same network. So I deleted the TP Link integration, unplugged the A.P. they were connected to, rebooted the router, rebooted HA server. Now when I try to link the TP Link integration it does not find any devices.

Any help here? Thanks

Are you letting the integration auto-detect the devices? If that’s not working I might try assigning each device a static IP, and then telling HA where they are in your configuration.yaml. For example, here’s what mine looks like:

tplink:
  switch:
    - host: 192.168.2.252
  strip:
    - host: 192.168.2.254
  light:
    - host: 192.168.2.253

Well yes, sort of. I installed tp link but not all of my devices were added. So I uninstalled thinking it might pick them up. But when I went to reinstall it would just abort saying no devices found.

Just tonight I reset all of my tplink devices, “which broke all the alexa routines”. Then I was able to install the tplink integration and this time even fewer of them were auto added.

At this point I would be ok with manually adding them as long as it works.

I followed the instructions, but was unsuccessful. Maybe because I was using dhcp addresses? Although that wouldnt seem to be an issue until I reboot a device and a new ip gets assigned. Either way I can assign static to all.

I am editing the config.yaml in visual studio.
There are 9 HS220 dimmers, 1 HS200 switch, and 1 HS210

Questions:
I would have 9 dimmers and 2 switches correct?

Would my config file list them like this?

tplink:
  switch:
    - host: 192.168.30.2
    - host: 192.168.30.3
  dimmer:
    - host: 192.168.30.4
    - host: 192.168.30.5
    - host: 192.168.30.6
    - host: 192.168.30.7
    - host: 192.168.30.8
    - host: 192.168.30.9
    - host: 192.168.30.10
    - host: 192.168.30.11
    - host: 192.168.30.12

As per the instructions it says to add, “discovery:false” is this not necessary?

Thank you for you help and patience, I am new to HA.
Also, when I add the “:” after “switch or dimmer” as in, switch: I get an error.

Just an update for anyone who is looking for an answer. I found out that the coder that was working on this does not have the time to work on it anymore. While this does kind of work there are issues. I initially was able to integrate some not all devices. At this point I would go ahead and make a backup of your files. If like me you decide to delete the integration and try again. Then your not able to get anything back. What I found to help was resetting all my devices over and over until finally 1 device took. Once I had 1 device in I set all the devices on their own static IP and manually installed the rest via Visual Studio Code as Tim4 had mentioned. When done my config.yaml file looked just as I had published above.

Good luck and thanks Tim4
Cory