Importing [groovy.time.TimeDuration] is not allowed

Hi all. I have Efergy connect running on smartthings still and would like to bring it into hubitat.

This code gives an import time error though. Would anytime be able too help fix it?

Thank you

I'm hoping this is a simple fix but from what i can tell online it is not.

Anyone ? Guessing not many folks use Efergy.

From a fairly brief glance at the code I don't see any date arithmetic being used, so I'd suggest removing the TimeCategory and TimeDuration imports and see what happens.

1 Like

that did it! thank you Rob

1 Like