Ir remote for aircon daikin216

Hi, i am newbie in hassio and esphome. I have a arduino code from iresp8226library that i would like to change to yaml file. Can anyone help me?