Found this after I made the same fix:
[email protected]:/usr/local/emhttp/plugins/dynamix.s3.sleep/scripts# diff s3_sleep s3_sleep.orig
41d40
< # Change -PB12 to -PB13 for new .ini file format
51c50
< flash=($(grep -PB13 '^type="Flash' $ini|grep -Po '^device="\K[^"]+'))
---
> flash=($(grep -PB12 '^type="Flash' $ini|grep -Po '^device="\K[^"]+'))
56c55
< cache=($(grep -PB13 '^type="Cache' $ini|grep -Po '^device="\K[^"]+'))
---
>