This is an oddly shallow article. The Persian army, whatever its exact size, was vast; too vast to have travelled by sea, instead marching overland into Greece. The Persian fleet's job was to supply them with food and other necessities, as the army was too large to live off the land. It is reasonable to view Thermopylae as a delaying maneuver, although due to political differences between the Athenians and the Sparta…
The Persians did lose a lot of ships in two storms, before the battle at Artemision:
Simultaneous with the battle at Thermopylae, an Allied naval force of 271 triremes defended the Straits of Artemisium against the Persians.[126] Directly before Artemisium, the Persian fleet had been caught in a gale off the coast of Magnesia, losing many ships, but could still probably muster over 800 ships at the start of the battle.[127] On the first day (also the first of the Battle of Thermopylae), the Persians detached 200 seaworthy ships, which were sent to sail around the eastern coast of Euboea. These ships were to round Euboea and block the line of retreat for the Allied fleet.[127] Meanwhile, the Allies and the remaining Persians engaged in the late afternoon, the Allies having the better of the engagement and capturing 30 vessels.[127] That evening, another storm occurred, wrecking the majority of the Persian detachment which had been sent around Euboea.[128]