I have some python that sets a variable that stopped working some time ago and I am working to get it going ago. The error that I am getting is:
Script Error schedule "EMK Power Monitor" embedded script error:
Script Error name 'unicode' is not defined
Script Error Exception Traceback (most recent call shown last):
Here is an example of the code that worked fine for many years but now is causing an error:
# Get meter response and log date/time collected
response = sp.read(255)
indigo.variable.updateValue(1582391571, value=unicode(indigo.server.getTime())) #MeterLastReadTime
Any guidance on how to resolve would be greatly appreciated.
Thanks,
Dan..