Serial comunication

Hi,

I want to know how to can receive information and send from raspberry pi to arduino, in both directions like I have just said.

Thanks,

Pedro

Have you seen the arduino component? It has switches and sensors.

Yes, but with that component you only receive, I think, can not send things to arduino.
I just want something like this:
https://www.element14.com/community/community/design-challenges/forget-me-not/blog/2014/08/24/cats-forgetmenot--week-4-arduino-openhab-two-communication#jive_content_id_Serial_data_from_Arduino_to_Raspberry_Pi
But with Home assistant, receive and send serial data like that.

Looks like in this thread that they used shell commands