Here are some of my personal ESPHome projects. I've coded some from scratch, but some configs I've gotten online and then refactored to my liking. I've tried to keep them simple and mostly lambda free for simple stuff.
These files do not include the usual logger:, api:, etc because my intended purpose for these is to be drop in.
If you have an existing ESPHome config that works, just drop these in under the board defininition and remove any duplicates. If you want to start fresh with this YAML, click Create Device in ESPHome, select the New Device Setup option, select your board, and then paste one of these configs directly after the board definitions. (this usually keeps it nice and readable) This ensures that your encryption/api/logger/board is correct right away. Watch that indentation!!
Have an issue? Create an issue! I'd love to look into any issues and fix them. Also, I am always adding new functionality and making the code even simpler. If you improve my code in any way, or implemement it into a cool project, please share (if you'd like)! PRs welcome.
(Note: I don't really care for a ton of lambda and complexity so if your improvement is adding a bunch of really complex lambdas and automations you might make your own repo for those :D)