code: def _do_update_callback(self, msg):
          
          for callback, device in self._update_callbacks:
              if device == msg:
                  _LOGGER.debug('Update callback %s for device %s by %s',
                                callback, device, msg)
                  self._event_loop.call_soon(callback, msg)
docs: Call registered callback functions.