Pathfinder 2e introduced leshies, spirits inhabiting plant-based host bodies, as a player race, found here in the SRD: https://2e.aonprd.com/Ancestries.aspx?ID=14
Our group has been having a discussion on whether leshies need to sleep or not.
The arguments from one side are that as the leshy is plant-based, and plants do not need sleep, the leshy also does not need sleep.
The other side suggests that since it’s not explicitly stated anywhere, that leshies do need to sleep as other ancestries- the only ancestry (as far as we can see) that mentions sleep in the entry is the android, which says
Androids breathe, eat, and sleep like a human, although they’re incapable of biological procreation.
The closest the leshy entry comes to that would be, under ‘Plant Nourishment’:
You gain nourishment in the same way that the plants or fungi that match your body type normally do, through some combination of photosynthesis, absorbing minerals with your roots, or scavenging decaying matter.
Which doesn’t explicitly mention sleep, though the interpretation could potentially be stretched to include ‘sleeping in the same way that the plants or fungi that match your body type normally do’ – i.e. not at all.
Since leshies do not have an inherent resistance to magical sleep effects, they are clearly capable of sleep, however that doesn’t necessarily mean they need to in the same way the humans need their 8 hours nightly.