There's an issue with the recommended "default" setup of Home Assistant on a Raspberry Pi, where it will set up a database for recording events. But these ends up being a ton of writes to the SD card over time. If anyone else is using Home Assistant on a Pi, I highly recommend moving your database files to an external USB HDD, or connecting it to a database over the network on another machine. That should make the SD card issue vanish.