From a Reddit comment: "The home assistant tp-link integration already makes use of the local api connecting to the devices. I'd definitely recommend using a reserved dhcp address and specifying the devices in your ha config (not using auto discovery)."