'Get the latest data from the Google Wifi API.'

def update(self):

    self._api.update()
    if self.available:
        self._state = self._api.data[self._var_name]
    else:
        self._state = STATE_UNKNOWN
