Self-powered Attiny13 with 2N2222

Ok guys hmmmmm don't hit me ok ?
I got bad eyes and mixed up the BC337 and BC227.

My radio remote is working

Just a small comment, I removed the resistor between Arduino VCC and Arduino Output because the appliance kept drawing current after pin shutdown. Now it works and shuts down correctly.

Thanks for your help. I still need to figure out why it's working (magic)