Fix brands check
@@ -13,14 +13,13 @@ TOKEN = os.getenv("GITHUB_TOKEN")
async def check():
print("Information: https://hacs.xyz/docs/publish/include#check-brands")
- # if get_category() != "integration":
- # print("Only integrations are checked.")
- # return
+ if get_category() != "integration":
+ print("Only integrations are checked.")
+ return
- # manifest = get_manifest()
+ manifest = get_manifest()
+ domain = manifest.get("domain")
- # domain = manifest.get("domain")
- domain = "tahoma"
if domain is None:
print("No domain")
exit(1)
