Cannot connect to arduino uno with home assistant

are you sure that your arduino is connected to /dev/ttyACM0?

The arduinio page show how to determine the correct por (about halfway down):

Also when posting your config reference the first part of the post linked below. Following those instructions helps preserve the formatting so it can also be checked. Formatting can often break a config file and it helps to post it for other to check.