public function getDevices(?string $deviceId = null): array 	{ 		return $deviceId ? $this->api->devices()->getOne($deviceId) : $this->api->devices()->getAll(); 	}