MCPcopy
hub / github.com/hacs/integration / async_dispatch

Method async_dispatch

custom_components/hacs/base.py:762–764  ·  view source on GitHub ↗

Dispatch a signal with data.

(self, signal: HacsDispatchEvent, data: dict | None = None)

Source from the content-addressed store, hash-verified

760
761 @callback
762 def async_dispatch(self, signal: HacsDispatchEvent, data: dict | None = None) -> None:
763 """Dispatch a signal with data."""
764 async_dispatcher_send(self.hass, signal, data)
765
766 def set_active_categories(self) -> None:
767 """Set the active categories."""

Callers 15

set_stageMethod · 0.95
startup_tasksMethod · 0.95
hacs_repository_downloadFunction · 0.80
hacs_repositories_addFunction · 0.80
update_repositoryMethod · 0.80
uninstallMethod · 0.80
async_installMethod · 0.80
_async_post_installMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected