Grove hat with raspberry pi 4

Try to update the GrovePi library installed on your computer. If not run this command

pip install --upgrade grovepi