Skip to content

Commit

Permalink
Merge branch 'master' into integration/new_integration_ambientika
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau authored Dec 11, 2024
2 parents e159852 + 82597bf commit 5e95c9a
Show file tree
Hide file tree
Showing 8 changed files with 155 additions and 18 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,30 @@ jobs:
- name: Run the check
run: python3 -m scripts.check.edits

removed:
runs-on: ubuntu-latest
name: Removed repository
needs: preflight
if: needs.preflight.outputs.removal != 'true'
steps:
- name: Check out repository
uses: actions/checkout@v4.2.1

- name: Set up Python
uses: actions/setup-python@v5.2.0
with:
python-version-file: ".python-version"
cache: "pip"
cache-dependency-path: "requirements.txt"

- name: Install dependencies if needed
run: scripts/setup

- name: Run the check
run: python3 -m scripts.check.removed
env:
REPOSITORY: ${{needs.preflight.outputs.repository}}

hassfest:
runs-on: ubuntu-latest
name: Hassfest
Expand Down
12 changes: 1 addition & 11 deletions appdaemon
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@
"NiklasReiche/ad-spotify-mood-lights-sync",
"nra4ever/calremind",
"Odianosen25/Monitor-App",
"Petro31/ad_convert_media_volume",
"Petro31/ad_count_entities",
"Petro31/ad_group_all",
"Petro31/ad_monitor_events",
"Petro31/ad_seasonal_lights",
"Petro31/ad_simple_door_bell",
"Petro31/ad_sunset_lights",
"Petro31/ad_toggle_light",
"Petro31/ad_who_used_the_door",
"Petro31/IlluminateDoor",
"Pythm/ad-ClimateCommander",
"Pythm/ad-Lightwand",
"roopesh/ad-qolsys",
Expand All @@ -68,4 +58,4 @@
"wernerhp/ha.appdaemon.wasp",
"XaF/qolsysgw",
"xaviml/controllerx"
]
]
15 changes: 14 additions & 1 deletion blacklist
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[
"9rpp/securifi",
"a529987659852/openwbmqtt",
"abacao/hass_wibeee",
"AdamNaj/linksys_velop",
"aijayadams/hass-blueair",
Expand Down Expand Up @@ -226,8 +227,18 @@
"perara/systemair-save-connect",
"peternijssen/home-assistant-jumbo",
"peternijssen/lovelace-postnl-card",
"Petro31/ad_convert_media_volume",
"Petro31/ad_count_entities",
"Petro31/ad_group_all",
"Petro31/ad_monitor_events",
"Petro31/ad_multizone_media_control",
"Petro31/ad_people_tracker",
"Petro31/ad_seasonal_lights",
"Petro31/ad_simple_door_bell",
"Petro31/ad_sunset_lights",
"Petro31/ad_toggle_light",
"Petro31/ad_who_used_the_door",
"Petro31/IlluminateDoor",
"pfunkmallone/HACS-camect-custom_card",
"pfunkmallone/HACS-camect-integration",
"pilotak/homeassistant-mikrotik",
Expand Down Expand Up @@ -275,6 +286,7 @@
"tellerbop/havistapool",
"tenly2000/HomeAssistant-Places",
"thebino/rki_covid",
"TheLastProject/lovelace-media-art-background",
"Thomas55555/husqvarna_automower",
"thomasloven/lovelace-dummy-entity-row",
"thomasloven/lovelace-gap-card",
Expand All @@ -297,5 +309,6 @@
"xaviml/z2m_ikea_controller",
"xlcnd/meteoalarmeu",
"xMrVizzy/button-toolbar",
"zha-ng/zha-map"
"zha-ng/zha-map",
"zweckj/acaia"
]
13 changes: 9 additions & 4 deletions integration
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"5high/konke",
"5high/phicomm-dc1-homeassistant",
"9a4gl/hass-centrometal-boiler",
"a529987659852/openwbmqtt",
"AaronDavidSchneider/SonosAlarm",
"ablyler/home-assistant-bradford-white-connect",
"aceindy/Duepi_EVO",
"acesyde/hassio_mylight_integration",
"adamoutler/anycubic-homeassistant",
Expand All @@ -25,6 +25,7 @@
"alengwenus/ha-sma-ev-charger",
"AlexandrErohin/home-assistant-flightradar24",
"AlexandrErohin/home-assistant-tplink-router",
"alexdelprete/ha-4noks-elios4you",
"alexdelprete/ha-abb-powerone-pvi-sunspec",
"Alexwijn/SAT",
"AlexxIT/Jura",
Expand Down Expand Up @@ -66,6 +67,7 @@
"AndreaTomatis/loex-xsmart-integration",
"andrew-codechimp/HA-Andrews-Arnold-Quota",
"andrew-codechimp/HA-Battery-Notes",
"andrewjswan/SwatchTime",
"andrzejchm/blebox_shutterbox_tilt",
"andvikt/mega_hacs",
"aneeshd/schedule_state",
Expand Down Expand Up @@ -609,7 +611,9 @@
"lindell/home-assistant-svt-play",
"lindell/home-assistant-tv4-play",
"linsvensson/sensor.greenely",
"lizardsystems/hass-mygas",
"lizardsystems/hass-taipit",
"lizardsystems/hass-tnse",
"ljmerza/ha-email-sensor",
"lociii/homeassistant-csgo",
"lociii/homeassistant-overwolf-status",
Expand Down Expand Up @@ -962,6 +966,7 @@
"thomasloven/hass-favicon",
"thomasloven/hass-fontawesome",
"thomasloven/hass-lovelace_gen",
"thomasloven/hass-plejd",
"thomasprior/2minersInfo",
"tijsverkoyen/HomeAssistant-FusionSolar",
"tikismoke/home-assistant-plcbus",
Expand Down Expand Up @@ -1026,6 +1031,7 @@
"viragelabs/virage_dashboard",
"vlumikero/home-assistant-securitas",
"vmakeev/huawei_mesh_router",
"vooon/hass-myheat",
"Vova-SH/termux-api",
"Weissnix4711/hass-listenbrainz",
"weltenwort/home-assistant-rct-power-integration",
Expand Down Expand Up @@ -1058,6 +1064,5 @@
"zachowj/hass-node-red",
"zeronounours/HA-custom-component-energy-meter",
"zigul/HomeAssistant-CEZdistribuce",
"ZsBT/hass-w1000-portal",
"zweckj/acaia"
]
"ZsBT/hass-w1000-portal"
]
6 changes: 5 additions & 1 deletion plugin
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"AmoebeLabs/flex-horseshoe-card",
"AmoebeLabs/swiss-army-knife-card",
"Anonym-tsk/lovelace-starline-card",
"Anrolosia/Shopping-List-with-Grocy-Card",
"arallsopp/hass-hue-icons",
"argaar/comfortable-environment-card",
"artem-sedykh/mini-climate-card",
Expand Down Expand Up @@ -93,9 +94,11 @@
"dnguyen800/air-visual-card",
"dooz127/swipe-glance-card",
"drakulis/jb-battery-card",
"dvb6666/homed-zigbee-networkmap",
"dylandoamaral/uptime-card",
"elax46/custom-brand-icons",
"elchininet/custom-sidebar",
"elchininet/home-assistant-secret-taps",
"elchininet/keep-texts-in-tabs",
"ExperienceLovelace/ha-floorplan",
"ezand/lovelace-posten-card",
Expand Down Expand Up @@ -225,6 +228,7 @@
"mlamberts78/weather-chart-card",
"Mofeywalker/openmensa-lovelace-card",
"MrBartusek/MeteoalarmCard",
"nathan-gs/ha-map-card",
"nathanmarlor/foxess_modbus_charge_period_card",
"NemesisRE/kiosk-mode",
"NemesisRE/upcoming-media-card",
Expand Down Expand Up @@ -267,6 +271,7 @@
"rgc99/irrigation-unlimited-card",
"rianadon/opensprinkler-card",
"rianadon/timer-bar-card",
"RJArmitage/rfxtrx-stateful-blinds-icons",
"RodBr/miflora-card",
"RomRider/apexcharts-card",
"royto/logbook-card",
Expand All @@ -288,7 +293,6 @@
"TarheelGrad1998/gallery-card",
"tcarlsen/lovelace-light-with-profiles",
"tdvtdv/ha-tdv-bar",
"TheLastProject/lovelace-media-art-background",
"tholgir/TodoIst-Task-List",
"thomasloven/lovelace-auto-entities",
"thomasloven/lovelace-badge-card",
Expand Down
78 changes: 78 additions & 0 deletions removed
Original file line number Diff line number Diff line change
Expand Up @@ -1683,5 +1683,83 @@
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2767"
},
{
"repository": "zweckj/acaia",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "a529987659852/openwbmqtt",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "TheLastProject/lovelace-media-art-background",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_simple_door_bell",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_who_used_the_door",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_sunset_lights",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/IlluminateDoor",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_seasonal_lights",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_toggle_light",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_group_all",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_convert_media_volume",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_monitor_events",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
},
{
"repository": "Petro31/ad_count_entities",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2894"
}
]
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
aiogithubapi==21.11.0
aiogithubapi==21.11.0
requests==2.32.3
22 changes: 22 additions & 0 deletions scripts/check/removed.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import asyncio
import os
import requests

CHECKURL = "https://data-v2.hacs.xyz/removed/repositories.json"


async def check():
repo = os.environ["REPOSITORY"].lower()

try:
removed_repositories = set(x.lower() for x in requests.get(CHECKURL).json())
if repo in removed_repositories:
exit(f"::error::'{repo}' has been removed from HACS")
except Exception as e:
exit(f"::error::{e}")

print("Repository not removed from HACS")


if __name__ == "__main__":
asyncio.get_event_loop().run_until_complete(check())

0 comments on commit 5e95c9a

Please sign in to comment.