I was getting the same error so I changed line 113 to the following and it worked fine.
statusTextmsg = "Home is currently using ${device.currentState('powerDisp')?.value}.\nMin was ${device.currentState('powerOne')?.value}.\nMax was ${device.currentState('powerTwo')?.value}."