Assign entity to a device

Currently only possible via the custom integration device tools.

Edit: and for GUI created template entities as well.