Why 5 if your sleep was miserable (I assume)? Host has full control over that and should be held responsible if made a poor choice which affects guests. You're polite to host, but not polite to future guests.
There was also a massive foam rubber pad on the mattress that made the first night a rough one... but again, some people who are wrong prefer those, and again, it was easy enough to remove. Or at least, it would've been if my partner hadn't already been asleep on it when I came to bed. The resulting tossing and turning was what made the motion-sensing night light a problem.
Basically I didn't want to go full Karen on the landlord because everything else about the house was comfortable and thoughtful. I felt that a four-star rating would have been projecting a combination of my personal preferences and comically-bad luck on his other potential renters.