'Initialize the sensor.'

def __init__(self, api, variable, variable_info, monitor_device=None):

    self.var_id = variable
    self.var_name = variable_info[0]
    self.var_units = variable_info[1]
    self.var_icon = variable_info[2]
    self.monitor_device = monitor_device
    self._api = api
