'Update state of sensor.'

def update(self):

    try:
        self._state = self.api.update(self.sensor_type, self.api_endpoint, self.api_group, self.api_tool)
    except requests.exceptions.ConnectionError:
        return
