mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-21 04:33:38 +00:00
Alexa Media Player ADDED - #421 - Added some test Notifications. (HA restart targetted notification)
This commit is contained in:
@@ -45,6 +45,8 @@ class HacsIntegration(HacsRepository):
|
||||
try:
|
||||
await get_integration_manifest(self)
|
||||
except HacsException as exception:
|
||||
if self.hacs.action:
|
||||
raise HacsException(exception)
|
||||
self.logger.error(exception)
|
||||
|
||||
# Handle potential errors
|
||||
@@ -54,8 +56,11 @@ class HacsIntegration(HacsRepository):
|
||||
self.logger.error(error)
|
||||
return self.validate.success
|
||||
|
||||
async def registration(self):
|
||||
async def registration(self, ref=None):
|
||||
"""Registration."""
|
||||
if ref is not None:
|
||||
self.ref = ref
|
||||
self.force_branch = True
|
||||
if not await self.validate_repository():
|
||||
return False
|
||||
|
||||
|
Reference in New Issue
Block a user