How to make a doorbel using RPI-GPIO? (moving custom python to HA)

I have it working. In the ‘share your projects!’ you can find how I have done it.