Please read this, especially point 11, edit your post and format the YAML properly.
What error? Post the exact error message, as well as related logs.
From the Github readme link you posted, it seems like you have to add your gateway in the UI before you can configure individual sensors in yaml. Have you done that?