(hacs)
return True
Check if custom_updater exist.
Check if custom_updater exist.
Check if custom_updater exist .
def check_custom_updater(hacs):
    """Check if custom_updater exist."""
    for location in const.CUSTOM_UPDATER_LOCATIONS:
        if os.path.exists(location.format(hacs.system.config_path)):
            msg = const.CUSTOM_UPDATER_WARNING.format(
                location.format(hacs.system.config_path)
            )
            hacs.logger.critical(msg)
            return False
    return True
def check_custom_updater ( hacs ) : for location in const . CUSTOM_UPDATER_LOCATIONS : if os . path . exists ( location . format ( hacs . system . config_path ) ) : msg = const . CUSTOM_UPDATER_WARNING . format ( location . format ( hacs . system . config_path ) ) hacs . logger . critical ( msg ) return False return True