HELP Grove Base Hat with LED Socket not working!

@salman Your a genius!!

It now works! Can you maybe explain in short what the problem was, you think? Has it to do with that the grovepi library is not supported by the Raspberry Pi 4? So from now on I should use the gpiozero library. Do you know if I could use the this library also for other grove sensors especially the grove PIR sensor?

Thanks so far! You’ve helped me a lot!!