diff --git a/blacklist b/blacklist index d74bc7d..7738711 100644 --- a/blacklist +++ b/blacklist @@ -55,6 +55,7 @@ "keatontaylor/alexa_media_player", "kethoth/green_slate_theme", "ljmerza/waze-card", + "lociii/homeassistant-digitalstrom", "maykar/compact-custom-header", "Michsior14/ha-kaiterra", "Michsior14/ha-laser-egg", diff --git a/integration b/integration index d2a63cd..6d92e94 100644 --- a/integration +++ b/integration @@ -237,7 +237,6 @@ "ljmerza/ha-email-sensor", "ljmerza/ha-our-groceries", "lociii/homeassistant-csgo", - "lociii/homeassistant-digitalstrom", "LordBoos/discord_game", "lukas-hetzenecker/home-assistant-remote", "lukich48/hass_mqtt_template_switch", @@ -379,4 +378,4 @@ "youdroid/home-assistant-sickchill", "zachowj/hass-node-red", "zha-ng/zha-map" -] +] \ No newline at end of file diff --git a/removed b/removed index 72bd781..5ce9703 100644 --- a/removed +++ b/removed @@ -306,5 +306,11 @@ "repository": "custom-components/sensor.wifi-scanner", "reason": "Repository not complete", "removal_type": "removed" + }, + { + "repository": "lociii/homeassistant-digitalstrom", + "reason": "archived", + "removal_type": "blacklist", + "link": "https://github.com/hacs/integration/issues/1457" } ] \ No newline at end of file diff --git a/scripts/remove_repo.py b/scripts/remove_repo.py index f945cae..d69f16b 100644 --- a/scripts/remove_repo.py +++ b/scripts/remove_repo.py @@ -73,8 +73,10 @@ with open("removed", "r") as removed_file: removedcontent = json.loads(removed_file.read()) blacklistcontent.append(remove["repository"]) + if remove["repository"].split("/")[0] not in orgs: - categorycontent.remove(remove["repository"]) + if remove["repository"] in categorycontent: + categorycontent.remove(remove["repository"]) data = {"repository": remove["repository"]} if remove["reason"] is not None: