'Initialize the Neato Connected sensor.'

def __init__(self, hass, robot, sensor_type):

    self.type = sensor_type
    self.robot = robot
    self.neato = hass.data[NEATO_LOGIN]
    self._robot_name = ((self.robot.name + '    ') + SENSOR_TYPES[self.type][0])
    self._status_state = None
    try:
        self._state = self.robot.state
    except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError) as ex:
        self._state = None
        _LOGGER.warning('Neato    connection    error:    %s', ex)
    self._mapdata = hass.data[NEATO_MAP_DATA]
    self.clean_time_start = None
    self.clean_time_stop = None
    self.clean_area = None
    self.clean_battery_start = None
    self.clean_battery_end = None
    self.clean_suspension_charge_count = None
    self.clean_suspension_time = None
    self._battery_state = None
