Raspberry pi i/o solution?

Hi
I read that the
Raspberry pi 's inputs and outputs is not supported in
Home assistant
Is this really the case?
How can I trigger a output on the raspberry pi if event x accrue?

How can I get a event if a input on a raspberry pi accrue?

In my case I have a home assistant installed on the same raspberry pi I am planning to use the i/o on.