def __init__(self, name, addresses):
    'Initialize the sensor.'
    self._name = name
    self.addresses = addresses
    self._state = None
    self._unit_of_measurement = 'BTC'
Initialize the sensor.
def __init__(self, name, addresses):
    
    self._name = name
    self.addresses = addresses
    self._state = None
    self._unit_of_measurement = 'BTC'