Deconz home assistant / unraid

Deconz in Unraid docker, changed default port to 666.
Deconz Home Assistant integration, changed default port to match 666.

Every time that i restart HA i loose connection with the Deconz app in Unraid, the Deconz app in Unraid still runs fine in stand alone mode but HA just looses connection, the only way to get them to sync with each other is to delete the HA Deconz integration and add it back into the integration, and its fine until i do another restart which is quite often, i will have go through the process again.

Anyone have any ideas what is going on.