public function create($name, $duration, $useDuration, $useDisplayLocation, $longitude, $latitude, $templateId, $units, $updateInterval, $lang, $dayConditionsOnly, $playlistId)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->useDisplayLocation = $useDisplayLocation;
        $this->longitude = $longitude;
        $this->latitude = $latitude;
        $this->templateId = $templateId;
        $this->units = $units;
        $this->updateInterval = $updateInterval;
        $this->lang = $lang;
        $this->dayConditionsOnly = $dayConditionsOnly;
        $this->playlistId = $playlistId;

        $this->getLogger()->info('Creating Weather widget in playlist ID ' . $playlistId);
        $response = $this->doPost('/playlist/widget/forecastIo/' . $playlistId , $this->toArray());

        return $this->hydrate($response);
    }