Alias for same device added from multiple integrations

It’s very common to use custom integrations in HA for enhanced functionalities, even a device might have some official integration support. For example, many people use Tuya Local or Local Tuya custom integrations, instead/along with the official Tuya integration to access the devices locally.

In any case, if anyone adds the same devices from multiple integration channels, HA recognizes the same devices as different devices from multiple channels. I was wondering if HA would have some options to alias multiple devices as a single device so that HA understands correctly that devices are not mirrored. Moreover, if one integration fails to connect with the device, it can use another integration channel to complete the action.

I have several devices that have entities that are integrated separately show up the the same device page and work thru the same device. The trick is the device ID has to be exactly the same or at lease have a matching element, and then they show up together. My pfSense entity that come from my router are showing up in my tasmota devices. (matching mac address) I have blueprints that create entities via MQTT discovery and if I set the device to match one of the existing device id’s, they show on the same page.

2 Likes

So are you looking for something different?

Hello Sir_Goodenough,

I am really sorry for this late reply. I got your point. But somehow i can’t find a way to change device id to keep it same. Do you have any idea how i can handle my integrations to keep the id same?

In my case, I am using many tuya devices and switches. My integrations are with tuya native plugin, localtuya and tuyalocal. Here, it seems the device ids are different for the same device for all three integrations.

Looking forward for your expert opinion.

Thanks for all the good works. :smile:
@Sir_Goodenough

1 Like

Honestly, Customize integration might do it, but it it is likely that all the different integrations will force their own thing on you.