def active_current(self):
    'Get current active Amps.'
    if (not self.is_local_active):
        return
    properties = self.instantaneous_values()
    return float(properties['current'])
Get current active Amps.
def active_current(self):
    
    if (not self.is_local_active):
        return
    properties = self.instantaneous_values()
    return float(properties['current'])