advertize entry point
Refactor advertisements so that a single module can have its own advertisements send from time to time (mqtt only).
The advertizement would look like this:
def adv_handler() -> (int, Callable[[], Option[dict]]):
...
The advertizement will be sent every nth second, when callable does not return None
.