code: def _dispatch_event(self, event: LutronEvent, params: Dict):
      
      for handler, context in self._subscribers:
        handler(self, context, event, params)
docs: Dispatches the specified event to all the subscribers.