Well, I don’t have an Echo Show 8, so I can’t test this, but this should do it:
Make a backup, save locally in case things go badly.
Open the Devices page, open your Echo Show 8 device. Scroll down to State Variables, look for the entry “deviceType:”, copy the device type entry. For an echo show 8 gen 2, it would be, for example,
A15996VY63BQ2D
Now, open the apps code for Echo Speaks. At about line 7491, you will see the entry for Echo Show 8 (Gen2). Copy that entire line, then insert the copied line after the Gen2 entry (i.e., duplicate the line).
Replace the device type string with the device type for your Echo Show 8 gen 3, which you obtained above from your device’s State Variables entry. Edit the Gen2 text to be Gen3.
Save the file. Reboot your hub. That should do it.