Brand new ShellyPlug US Wifi+Bt -- device is setup and accessible via it's IP on the local network.
Auto discovery works.
Connecting to the device eventually reports Failed setup, will retry: Device communication error occurred for shellyplugus-048308deb2cc
Debug logs show a rpc call to "Script.GetCode" that never gets a reply
2025-07-19 11:32:31.611 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] send(192.168.86.45:80): {'id': 5, 'method': 'Script.GetCode', 'src': 'aios-546764120832', 'params': {'id': 1, 'offset': 0, 'len': 0}, 'dst': 'shellyplugus-048308deb2cc'}
Other rpc calls seem to be receiving responses just fine, including GetConfig.
I found this PR which seems to be related, but that was released a few versions ago.
I do not have any scripts on the device.
HA 2025.7.2
Updated plug to latest firmware: Shelly PlugUS 048308DEB2CC| 1.6.2| d0ab7d6d
Any help would be much appreciated!