Sorry, I never mentioned two things;
1. The latter link to bwsystems is a different project that performs a simliar task for emulating a hue bridge however its not a part of the Home Assistant project.
2. Another probably easier implementation is to just provide an HTTP post function as many of these systems allow you to communicate to them via a REST API, Home Assistant and OpenHAB do this very well.
Overall this solution can be accomplished via tasker but I feel like it would fair better as a feature of an alarm style application as well developers could potentially integrate sleep tracking into their HA systems