'Get the latest data from the PVOutput API and updates the state.'

def update(self):

    try:
        self.rest.update()
        self.pvcoutput = self.status._make(self.rest.data.split(','))
    except TypeError:
        self.pvcoutput = None
        _LOGGER.error('Unable    to    fetch    data    from    PVOutput.    %s', self.rest.data)
