updating to latest

This commit is contained in:
root
2021-11-04 01:18:18 -04:00
parent f92b773514
commit 7eadb4c49c
153 changed files with 19015 additions and 5168 deletions

View File

@@ -0,0 +1,12 @@
# pylint: disable=missing-class-docstring,missing-module-docstring,missing-function-docstring,no-member
from abc import ABC
from custom_components.hacs.helpers.functions.path_exsist import async_path_exsist
class RepositoryMethodReinstallIfNeeded(ABC):
async def async_reinstall_if_needed(self) -> None:
if self.data.installed:
if not await async_path_exsist(self.content.path.local):
self.logger.error("Missing from local FS, should be reinstalled.")
# await self.async_install()