Custom device loses area and friendly name when HA is restarted

I have got several Tenda Beli SP9 plugs setup using the steps in this post and all seems to be working ok.

This issue I’ve got is If I add them to an area, and create a friendly name, all those details are lost when HA is restarted.

Can someone tell me how to make the details permanent or if there is a way to edit the configuration.yaml to update the area and friendly names?

I have also noticed that sometimes after a restart the Entity ID is changed from “switch.tbp_switch_1234” to “switch.tbp_switch_1234_ 2”

I don’t know if this is related but it’s pretty strange to have this change all by itself… and will mess up all my automations if it doesn’t change back again on it own.

everything you’re saying here means the integration doesn’t have config flow set up correctly or it’s not using it at all. There’s really nothing you can do until they fix it.

Ahh ok… Not really what I wanted to hear, but at least I know and can stop searching for a solution.