Hass.io with Arduino using firmata

Hi Guys, I new in community and with hass.io universe, I installed and installed my arduino in my raspberry pi 3, but I have no idea how I create a program to control my arduino. Do you have any example of code using firmata comunication to control arduino using hass.io?

Thanks very much.

Thanks @nickrout, I had see this page, but if I open in Chrome donĀ“t appear the information about sensor and switch. I tried now open in Firefox and information is there. Thanks a lot.