TeamCity integration, where do I begin?

We run HomeAssistant at the company office, and we also have a TeamCity build server and some smart bulbs (LIFX and Hue).

My goal, is to turn a light red when someone breaks the build.

Later, I will have a ceiling light above the workstation of whoever broke it (3 lights total). Light of shame! But seriously, an alert with attribution via light will be more effective than the Slack channel or Pushbullet currently is.

Second, if I have to write this up myself, how do I do it, and how do I contribute it back to Home Assistant?

Ok, so the solution in this case, is to for a C# WPF app to use REST API’s to talk to the build server, and then talk to my HA instance instead of making an integration.