From bb494af084138665603915c625aec3fd40755769 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Tue, 2 Jan 2024 08:09:03 +0000 Subject: [PATCH] Remove repository details from dispatch message --- custom_components/hacs/base.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/custom_components/hacs/base.py b/custom_components/hacs/base.py index 210c41db774..76c7785cd20 100644 --- a/custom_components/hacs/base.py +++ b/custom_components/hacs/base.py @@ -903,15 +903,7 @@ async def async_get_category_repositories_experimental(self, category: str) -> N ) self.repositories.unregister(repository) - self.async_dispatch( - HacsDispatchEvent.REPOSITORY, - { - "id": 1337, - "action": "update", - "repository": repository.data.full_name, - "repository_id": repository.data.id, - }, - ) + self.async_dispatch(HacsDispatchEvent.REPOSITORY, {}) async def async_get_category_repositories(self, category: HacsCategory) -> None: """Get repositories from category."""