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